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

https://github.com/bertoost/elasticemail-mailer

A Symfony Mailer implemtation for Elastic Email API
https://github.com/bertoost/elasticemail-mailer

Last synced: about 1 year ago
JSON representation

A Symfony Mailer implemtation for Elastic Email API

Awesome Lists containing this project

README

          


Elastic Email

# Elastic Email Mailer for Symfony Mailer

Provides Elastic Email integration for Symfony Mailer.

## Installation

```bash
composer require bertoost/elasticemail-mailer
```

## Usage

Symfony Mailer DSN

```env
MAILER_DSN=elasticemail+api://$API_KEY@default
```

Initialize manually:

```php
use bertoost\Mailer\ElasticEmail\Transport\ElasticEmailApiTransport;

$transport = new ElasticEmailApiTransport('YOUR_API_KEY');
```