PHPackages                             perfectwebteam/craft-mailchimp-transactional - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. perfectwebteam/craft-mailchimp-transactional

ActiveCraft-plugin[Mail &amp; Notifications](/categories/mail)

perfectwebteam/craft-mailchimp-transactional
============================================

Mailchimp Transactional mailer adapter for Craft CMS.

2.2.1(1y ago)021.8k↓32.5%2MITPHPPHP ^8.0.2

Since Jan 17Pushed 1y ago2 watchersCompare

[ Source](https://github.com/perfectwebteam/craft-mailchimp-transactional)[ Packagist](https://packagist.org/packages/perfectwebteam/craft-mailchimp-transactional)[ RSS](/packages/perfectwebteam-craft-mailchimp-transactional/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (9)Dependencies (1)Versions (12)Used By (0)

[![Mailchimp Transactional icon](./src/icon.svg)](./src/icon.svg)

Mailchimp Transactional for Craft CMS
=====================================

[](#mailchimp-transactional-for-craft-cms)

This plugin provides a [Mailchimp Transactional](https://mailchimp.com/features/transactional-email/) integration for [Craft CMS](https://craftcms.com/).

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 4.0.0+ or 5.0.0+.

Installation
------------

[](#installation)

You can install this plugin from the Plugin Store or with Composer.

#### From the Plugin Store

[](#from-the-plugin-store)

Go to the Plugin Store in your project’s Control Panel and search for “Mailchimp Transactional”. Then click on the “Install” button in its modal window.

#### With Composer

[](#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 perfectwebteam/craft-mailchimp-transactional

# tell Craft to install the plugin
./craft install/plugin craft-mailchimp-transactional
```

Setup
-----

[](#setup)

Once Mailchimp Transactional is installed:

1. Go to **Settings** → **Email**.
2. Make sure that the **System Email Address** is set to an email for which the domain is a verified [Sending Domain](https://mandrillapp.com/settings/sending-domains).
3. Change the **Transport Type** setting to **Mailchimp Transactional**.
4. Enter your **API Key** from the Mailchimp Transactional [Settings](https://mandrillapp.com/settings) page.
5. Optionally set the **Subaccount** from the Mailchimp Transactional [Subaccounts](https://mandrillapp.com/subaccounts) page.
6. Optionally set the **Template Slug** from the Mailchimp Transactional [Templates](https://mandrillapp.com/templates) page.
7. Click **Save**.

> **Tip:** The API Key, Subaccount and Template Slug settings 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.

### Custom Return-Path

[](#custom-return-path)

Register Return-Path domains in Mandrill:  to allow for a custom Return-Path as described here:

Configure the Return-Path via your `config/mailchimp-transactional.php` config file by adding:

```
