2017 © Pedro PelĂĄez
 

contao-module be_email

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

image

markocupic/be_email

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  • Sunday, May 27, 2018
  • by markocupic
  • Repository
  • 1 Watchers
  • 0 Stars
  • 91 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 18 Versions
  • 8 % Grown

The README.md

Alt text, (*1)

Contao Backend E-Mail

Contao E-Mail Erweiterung fĂŒr den Versand von Nachrichten aus dem Contao Backend. In den Contao Einstellungen kann definiert werden, woher das Adressbuch seine Adressen zieht. Entweder tl_member oder tl_user oder aus beiden Tabellen., (*2)

Backend, (*3)

KompatibilitÀt

Die Version 3.3 ist nur zu Contao >=4.9 kompatibel., (*4)

Viel Spass mit Contao Backend E-Mail!, (*5)

beEmailBeforeSend Hook

Mit dem beEmailBeforeSend-Hook können die beiden Objekte vor dem Versand manipuliert werden. Dazu muss eine Contao Hook Klasse geschrieben werden., (*6)

Damit der Hook via Annotation registriert wird, muss er in der services.yml registriert werden., (*7)

# services.yml
services:
    _defaults:
        autowire: true
        autoconfigure: true
        public: true

    Vendorname\App\:
        resource: ../../
        exclude: ../../{DependencyInjection,Resources,Model,Widget}

Die Hook-Klasse könnte ungefĂ€hr so aussehen. Der Hook erwartet drei Parameter und keinen RĂŒckgabewert., (*8)

<?php

namespace Vendorname\App\Listener\ContaoHooks;

use Contao\CoreBundle\ServiceAnnotation\Hook;

/**
 * @Hook("beEmailBeforeSendHook")
 */
class BeEmailBeforeSendHook
{
    /**
     * !!!Important
     * For manipulating data first and second parameter should be passed by reference!
     * @param $objEmail
     * @param $beEmailModel
     * @param $dc
     */
    public function __invoke(&$objEmail, &$beEmailModel, $dc)
    {
        // f.ex. manipulate sender email address
        $objEmail->from = 'foo@myhost.com';

        // f.ex. manipulate content
        $objEmail->text = 'bla bla!!';
        $objEmail->html = 'bla bla!!';
    }

}

The Versions

27/05 2018

dev-master

9999999-dev

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

27/05 2018

3.1.5

3.1.5.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

04/01 2018

3.1.4

3.1.4.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

03/01 2018

3.1.3

3.1.3.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

03/01 2018

3.1.2

3.1.2.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

03/01 2018

3.1.1

3.1.1.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

03/01 2018

3.1.0

3.1.0.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

31/12 2017

3.0.10

3.0.10.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

29/12 2017

3.0.9

3.0.9.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

06/12 2017

3.0.8

3.0.8.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

23/11 2017

3.0.7

3.0.7.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

23/11 2017

3.0.6

3.0.6.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

22/11 2017

3.0.5

3.0.5.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

22/11 2017

3.0.4

3.0.4.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

22/11 2017

3.0.3

3.0.3.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

21/11 2017

3.0.2

3.0.2.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

21/11 2017

3.0.1

3.0.1.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client

03/01 2015

2.2.0

2.2.0.0

Send emails from the Contao backend. Backend extension for the Contao Open Source CMS

  Sources   Download

LGPL-3.0+

The Requires

 

contao backend email client