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

https://github.com/studioespresso/craft-mailersend

A MailerSend mail adapter for Craft CMS.
https://github.com/studioespresso/craft-mailersend

craft-plugin craftcms mailersend

Last synced: about 2 months ago
JSON representation

A MailerSend mail adapter for Craft CMS.

Awesome Lists containing this project

README

          

Postmark icon

MailerSend for Craft CMS

This plugin provides a [MailerSend](https://www.mailersend.com) integration for [Craft CMS](https://craftcms.com/).

## Requirements

This plugin requires Craft CMS 4.0 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 “MailerSend”. Then click on the “Install” button in its modal window.

#### With Composer

Open your terminal and run the following commands:

```bash
# 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
```

## Setup

Once MailerSend is installed:

1. Go to **Settings** → **Email**.
2. 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](https://account.postmarkapp.com/signature_domains).
3. Enter your **Server Token** (which you can get from your [integrations](https://app.mailersend.com/api-tokens) page under “API Tokens”).
5. Click **Save**.

> **Tip:** The Server Token setting can be set using environment variables. See [Environmental Configuration](https://craftcms.com/docs/3.x/config/#environmental-configuration) in the Craft docs to learn more about that.