How to Configure Mailchimp Transactional Email with WordPress
Mandrill is Mailchimp's transactional email service, separate from its marketing audience. LetterPress sends through the Mandrill API.
Use Mandrill if you already have a Mailchimp Transactional account and want WordPress notifications, order email, and campaigns to use it.
Before you begin
- A Mailchimp account with Transactional Email enabled.
- A verified sending domain in Mandrill.
- An API key.
Step 1: Verify your sending domain
- Sign in to Mailchimp and open Transactional Email.
- Open the domain settings.
- Add your sending domain.
- Copy the SPF and DKIM records Mandrill shows.
- Add them at your DNS provider.
- Wait for verification.
Mandrill requires domain authentication before it will send from your domain.
Step 2: Create an API key
- Open the Mandrill Settings area.
- Open API Keys.
- Create a key for LetterPress.
- Copy the key. Mandrill shows it once.
Step 3: Enter the key in LetterPress
- Open Settings > Email providers.
- Select Mandrill.
- Paste the API key.
- Save changes. Set this provider as default if the button is shown. Then click Test connection.
The test calls Mandrill's ping endpoint. A passing test confirms the key is active.
Step 4: Set the sender and test
Open Settings > Sender identity and set From email to an address on the verified domain.
Click Send test email. Then send a test email from Settings > Sender identity.
Common problems
| Problem | What to check |
|---|---|
Invalid API key | The key is wrong, disabled, or from another account. |
Domain not verified | Finish SPF and DKIM verification in Mandrill. |
Sender not approved | The From address does not belong to the verified domain. |
| Test sends but mail is rejected | Check Mandrill's rejection log for the exact reason. |
| Mail goes to spam | Review SPF, DKIM, and DMARC. |
Next steps
- Connect Mandrill webhooks with event tracking.
- Review email authentication.
- Move an existing Mandrill setup with SMTP migration.