https://github.com/bertoost/elasticemail-swiftmailer
An Elastic Email transport implementation for SwiftMailer
https://github.com/bertoost/elasticemail-swiftmailer
Last synced: 8 months ago
JSON representation
An Elastic Email transport implementation for SwiftMailer
- Host: GitHub
- URL: https://github.com/bertoost/elasticemail-swiftmailer
- Owner: bertoost
- Created: 2022-09-21T17:37:56.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-09-25T08:53:02.000Z (over 3 years ago)
- Last Synced: 2025-02-01T08:47:47.839Z (over 1 year ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Elastic Email SwiftMailer
A SwiftMailer transport implementation for Elastic Email.
If you found an issue, feel free to raise an issue.
## Installation
```bash
composer require bertoost/elasticemail-swiftmailer
```
## Usage example
```php
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);
```