hyphenio / mandrill-swiftmailer
A SwiftMailer transport implementation for Mandrill
1.1.0
2016-05-04 03:53 UTC
Requires
- php: >=5.4
- hyphenio/mandrill: ~1.0
- swiftmailer/swiftmailer: ~5.3
Requires (Dev)
- phpunit/phpunit: ~4.5
This package is not auto-updated.
Last update: 2025-01-10 20:22:07 UTC
README
A SwiftMailer transport implementation for Mandrill
Installation
Require the package with composer
composer require accord/mandrill-swiftmailer
Usage
$dispatcher = new Swift_Events_SimpleEventDispatcher();
$transport = new MandrillTransport($dispatcher);
$transport->setApiKey('ABCDEFG12345');
$transport->setAsync(true); # Optional
$transport->send($message);