2017 © Pedro Peláez
 

library bono-mail

Mailer for bono

image

xinix-technology/bono-mail

Mailer for bono

  • Tuesday, October 28, 2014
  • by reekoheek
  • Repository
  • 1 Watchers
  • 4 Stars
  • 28 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

bono-mail

Mailer for Bono, (*1)

Its simply thin wrapper to SwiftMailer now., (*2)

With bono-mail you can utilize bono configuration to bootstrap your mailer., (*3)

Installlation

composer require xinix-technology/bono-mail

Configuration

Edit config/config.php, (*4)


return array( 'bono.providers' => array( // ... '\\BonoMail\\Provider\\MailProvider' => array( 'defaultMessage' => array( 'from' => array('john@doe.com' => 'John Doe'), ), 'transports' => array( 'smtp' => array( 'driver' => 'smtp', 'host' => 'localhost', 'port' => 25, ), ), ), // ... ), );

Howto Use


$result = \BonoMail\Mail::factory('Some subject for you') ->body('test', array()) ->to(array('jane@doe.com')) ->send();

Above code will send mail to jane@doe.com from default from (from configuration) with body from emails/test template., (*5)

The Versions

28/10 2014

dev-master

9999999-dev

Mailer for bono

  Sources   Download

MIT

The Requires

 

20/06 2014

0.1.0

0.1.0.0

Mailer for bono

  Sources   Download

MIT

The Requires