acquia/mc-cs-plugin-sparkpost

Sparkpost Mailer Plugin for Mautic

dev-main 2024-07-25 16:06 UTC

This package is not auto-updated.

Last update: 2024-09-05 12:57:07 UTC


README

Mautic Sparkpost Plugin

This plugin enable Mautic 5 to run Sparkpost as an email transport. Features:

  • API transport. This transport can send up to 2000 emails per API request which makes it very fast compared to SMTP.
  • Bounce webhook handling. This plugin will unsubscribe contacts in Mautic based on the hard bounces while Sparkpost will take care of the soft bounce retrieals.

Mautic Mailer DSN Scheme

mautic+sparkpost+api

Mautic Mailer DSN Example

'mailer_dsn' => 'mautic+sparkpost+api://:<api_key>@default?region=<region>',

sparkpost-email-dsn-example

Testing

To run all tests composer phpunit

To run unit tests composer unit

To run functional tests composer functional

Static analysis tools

To run fixes by friendsofphp/php-cs-fixer composer fixcs

To run phpstan composer phpstan