dev-master
9999999-dev https://github.com/notrix/MailerloopBundleSymfony2 bundle to implement mailerloop.com service as SwiftMailer transport
MIT
The Requires
email symfony swift mailerloop
Symfony2 bundle to implement mailerloop.com service as SwiftMailer transport
Symfony2 bundle to implement mailerloop.com service as SwiftMailer transport, (*1)
in composer.json, (*2)
"require": { ..., "notrix/mailerloop-bundle": "dev-master" },
in AppKernel.php, (*3)
public function registerBundles() { $bundles = array( ..., new Notrix\MailerloopBundle\NotrixMailerloopBundle(), ); }
in config.yml, (*4)
swiftmailer: transport: mailerloop notrix_mailerloop: api_key: [MailerLoop API key]
use Notrix\MailerloopBundle\Message\MailerloopMessage; $message = MailerloopMessage::newInstance() ->setSubject('Useful to mark message in code (will not be sent)') ->setTo('recipient1@example.com', 'Recipient Name') ->addTo('recipient2@example.com') ->setTemplateId(00000); $this->get('mailer')->send($message);
Symfony2 bundle to implement mailerloop.com service as SwiftMailer transport
MIT
email symfony swift mailerloop