bertoost / craft-mailerchain
Craft CMS plugin for adding a chain of mail adapters.
Installs: 32
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Type:craft-plugin
Requires
- php: ^8.0
- craftcms/cms: ^4.1
This package is auto-updated.
Last update: 2024-11-20 14:02:48 UTC
README
This plugin provides a mailer adapter integration for Craft CMS to configure a chain of mailers and send randomly through one of the configured mailers.
Requirements
This plugin requires Craft CMS 4 or later.
Installation
You can install this plugin from the Plugin Store or with Composer.
From the Plugin Store
Go to the Plugin Store in your project's Control Panel and search for "Mailer Chain". Then click on the "Install" button in its modal window.
With Composer
Open your terminal and run the following commands:
# go to the project directory cd /path/to/my-project.test # tell Composer to load the plugin composer require bertoost/craft-mailerchain # tell Craft to install the plugin ./craft install/plugin mailerchain
Sending e-mails
Just use the Craft Mailer to send emails, normally.
This plugin acts like a mail adapter and passes a random configured adapter to the Mailer.
Known issues
- When this chain is configured to be the mail transport for Craft, you change the transport and test it without saving the settings. The check will fail and if the tested transport is in the chain-list, it will update the count & test-success status.