Skip to content

Notifier/Mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notifier - Mail

This library adds standard php mail integration to Notifier.

Build Status

Example

use Notifier\Mail\ParameterBag\MailMessageParameterBag;
use Notifier\Mail\ParameterBag\MailRecipientParameterBag;
use Notifier\Recipient\Recipient;
use Notifier\Message\Message;
use Notifier\Notifier;

$message = new Message(new InformationType());
$message->addParameterBag(new MailMessageParameterBag('Mail subject', 'Body...'));

$recipient = new Recipient();
$recipient->addParameterBag(new MailRecipientParameterBag('[email protected]'));

// The ChannelResolver will decide to which channels a message of a specific type must be sent.
$notifier = new Notifier(new ChannelResolver());
$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 - [email protected] - 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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages