bertoost / elasticemail-swiftmailer
The SwiftMailer transport integration for Elastic Email.
v1.0.2
2022-09-25 08:52 UTC
Requires
- php: ^7.2 || ^8.0 || ^8.1
- elasticemail/elasticemail-php: ^4.0.20
- swiftmailer/swiftmailer: ~6.0
This package is auto-updated.
Last update: 2024-10-25 13:29:30 UTC
README
Elastic Email SwiftMailer
A SwiftMailer transport implementation for Elastic Email.
If you found an issue, feel free to raise an issue.
Installation
composer require bertoost/elasticemail-swiftmailer
Usage example
use ElasticEmail\Api\EmailsApi; $config = Configuration::getDefaultConfiguration() ->setApiKey('X-ElasticEmail-ApiKey', 'YOUR_API_KEY'); $apiInstance = new EmailsApi(new Client(), $config); $transport = new ElasticEmailTransport($dispathEvent, $apiInstance);