Skip to content

Repository files navigation

Notifier - Mail

This library adds standard php mail integration to Notifier.

Build Status

Example

useNotifier\Mail\ParameterBag\MailMessageParameterBag;
useNotifier\Mail\ParameterBag\MailRecipientParameterBag;
useNotifier\Recipient\Recipient;
useNotifier\Message\Message;
useNotifier\Notifier;
$message = newMessage(newInformationType());
$message->addParameterBag(newMailMessageParameterBag('Mail subject', 'Body...'));
$recipient = newRecipient();
$recipient->addParameterBag(newMailRecipientParameterBag('someone@example.com'));
// The ChannelResolver will decide to which channels a message of a specific type must be sent.$notifier = newNotifier(newChannelResolver());
$notifier->sendMessage($message, array($recipient));

Contributing

All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.

Fork the project, create a feature branch, and send us a pull request.

To ensure a consistent code base, you should make sure the code follows the Coding Standards which we borrowed from Symfony. Make sure to check out php-cs-fixer as this will help you a lot.

If you would like to help take a look at the list of issues.

Requirements

Notifier

Author and contributors

Dries De Peuter - dries@nousefreak.be - http://nousefreak.be

See also the list of contributors who participated in this project.

License

Notifier and it's extensions are licensed under the MIT license.

About

Mail integration for Notifier

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages