An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          


Elastic Email

# 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);
```