2017 © Pedro Peláez
 

contao-module birthday-mailer

Sends a birthday email to all the members having their birthday on the current day.

image

cliffparnitzky/birthday-mailer

Sends a birthday email to all the members having their birthday on the current day.

  • Monday, October 16, 2017
  • by cliffparnitzky
  • Repository
  • 2 Watchers
  • 0 Stars
  • 46 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 4 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Latest Version on Packagist Installations via composer per month Installations via composer total, (*1)

Contao Extension: BirthdayMailer

Sends a birthday email to all the members having their birthday on the current day., (*2)

Installation

Install the extension via composer: cliffparnitzky/birthday-mailer., (*3)

If you prefer to install it manually, download the latest release here: https://github.com/cliffparnitzky/BirthdayMailer/releases, (*4)

Tracker

https://github.com/cliffparnitzky/BirthdayMailer/issues, (*5)

Compatibility

  • Contao version >= 3.2.0 ... < 3.6.0
  • Contao version >= 4.4.0

Dependency

This extension is dependent on the following extensions:, (*6)

Inserttags

{{birthdaychild::*}} ... This tag returns all the values of the current member (replace * with any attribute of the member, e.g. firstname or company, the attribute password is not allowed).
{{birthdaychild::salutation}} ... This tag returns the salutation of the member (depending on gender).
{{birthdaychild::name}} ... This tag returns first and last name of the member.
{{birthdaychild::groupname}} ... This tag returns the name of the member group of the current configuration.
{{birthdaychild::age}} ... This tag returns the age of the member.
{{birthdaymailer::email}} ... This tag returns the e-mail the configured sender.
{{birthdaymailer::name}} ... This tag returns the name of the configured sender.

Hooks

birthdayMailerAbortSendMail

The "birthdayMailerAbortSendMail" hook is triggered for for checking if a birthday mail should be send. So custom checking for each birthday child is possible. It passes $birthdayChildConfig (the config of the current birthday child) and $blnAbortSendMail (the current value, if sending should be aborted). It expects a boolean return value., (*7)

// config.php

$GLOBALS['TL_HOOKS']['birthdayMailerAbortSendMail'][]   = array('MyClass', 'myAbortSendMail');

// MyClass.php

class MyClass
{
    public function myAbortSendMail($birthdayChildConfig, $blnAbortSendMail)
    {
        if ($blnAbortSendMail !== TRUE && $birthdayChildConfig->id == 1)
        {
            $blnAbortSendMail = true;
            $this->log('SEnding birthday mail to member with id "1" was aborted.', 'MyClass myAbortSendMail()', TL_INFO);
        }
        return $blnAbortSendMail;
    }
}

The Versions

16/10 2017

dev-develop

dev-develop

Sends a birthday email to all the members having their birthday on the current day.

  Sources   Download

LGPL-3.0+

The Requires

 

email members contao birthday birthdaymail

16/10 2017

dev-master

9999999-dev

Sends a birthday email to all the members having their birthday on the current day.

  Sources   Download

LGPL-3.0+

The Requires

 

email members contao birthday birthdaymail

16/10 2017

1.3.4

1.3.4.0

Sends a birthday email to all the members having their birthday on the current day.

  Sources   Download

LGPL-3.0+

The Requires

 

email members contao birthday birthdaymail

12/09 2017

1.3.3

1.3.3.0

Sends a birthday email to all the members having their birthday on the current day.

  Sources   Download

LGPL-3.0+

The Requires

 

email members contao birthday birthdaymail

22/02 2016

1.3.2

1.3.2.0

Sends a birthday email to all the members having their birthday on the current day.

  Sources   Download

LGPL-3.0+

The Requires

 

email members contao e-mail birthday birthdaymail

20/08 2015

dev-feature/notification-center-support

dev-feature/notification-center-support

Sends a birthday e-mail to all the members having their birthday on the current day.

  Sources   Download

LGPL-3.0+

The Requires

 

contao member e-mail birthday birthdaymail birthday mail

08/05 2015

1.3.1

1.3.1.0

Sends a birthday e-mail to all the members having their birthday on the current day.

  Sources   Download

LGPL-3.0+

The Requires

 

members contao e-mail birthday birthdaymail

07/05 2015

1.3.0

1.3.0.0

Sends a birthday e-mail to all the members having their birthday on the current day.

  Sources   Download

LGPL-3.0+

The Requires

 

members contao e-mail birthday birthdaymail