This plugin enable Mautic 5 to run AWS SES as a email transport and provide a callback to process bounces.
- Get the plugin using
composer require pabloveintimilla/mautic-amazon-ses
- Clear cache
php bin/console cache:clear
- Install plugin
php bin/console mautic:plugins:reload
Be sure to use the ses+api
as Data Source Name (DSN).
The following is the example for the DSN.
ses+api://ACCESS_KEY:SECRET_KEY@default?region=REGION
Follow the steps to setup plugin DSN:
- Navigate to Configuration > Mail Send Settings
- Update the following fields leaving rest default or empty,
Field | Value |
---|---|
Scheme | ses+api |
Host | default |
Port | 465 |
User | <aws-user> |
Password | <secretKey> |
Region | <region> |
The <apiKey>
and <secretKey>
will be a credential access from a user AWS.
The <region>
is AWS region were run AWS SES in your account
Process bounces you need to configure an AWS SNS to send a callback to Mautic.
- Create a SNS topic attached to AWS SES Identity.
- Configure a suscription:
- Protocol: HTTPS
- Enable raw message delivery
- Endpoint:
URL_MAUTIC
/mailer/callback.
- Confirm SNS suscription, this plugin automatic activate.
👤 Pablo Veintimilla
- Twitter: @pabloveintimilla
- Github: @pabloveintimilla