This plugin provides a MailerSend integration for Craft CMS.
This plugin requires Craft CMS 4.0 or later.
You can install this plugin from the Plugin Store or with Composer.
Go to the Plugin Store in your project’s Control Panel and search for “MailerSend”. Then click on the “Install” button in its modal window.
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 studioespresso/craft-mailersend
# tell Craft to install the plugin
./craft plugin/install mailersend
Once MailerSend is installed:
- Go to Settings → Email.
- Change the Transport Type setting to MailerSend. Also, ensure that your System Email Address in your Craft Email Settings matches your confirmed Sender Signature email address in MailerSend.
- Enter your Server Token (which you can get from your integrations page under “API Tokens”).
- Click Save.
Tip: The Server Token setting can be set using environment variables. See Environmental Configuration in the Craft docs to learn more about that.