Getting Started with Mandrill

Photo credit: Steven Goodwin freeimages.com/photo/email-1241812

Mandrill is an email service that allows you to send personalized emails, or automated transactional emails like password resets, order confirmations, and welcome messages.
More info at: https://mandrill.zendesk.com/hc/en-us/articles/205582427-What-is-Mandrill-

Steps

Join Mandrill

Generate an API key

The email which you’ve used during the registration will be your username.
The API key that you’ve just generated will be your password.

Settings > SMTP & API Info

The SMTP login info should look like this.

server: smtp.mandrillapp.com
port: 587
username: admin@example.com
password: ykMjxYsomeapikey

Add a domain

Settings > Domains
https://mandrillapp.com/settings/sending-domains

Verifications

Verify email e.g. admin@example.com

These TXT records must be setup at the control panel where your domain is registred at e.g. GoDaddy, 1and1, name.com etc.

Add DKIM Settings
Add a txt record: mandrill._domainkey.example.com:
v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3SOMElongIwishyougreatsuccessIDAQAB;

Add SPF record
Add SPF record for example.com (or at GoDaddy for host use @)
v=spf1 include:spf.mandrillapp.com ?all

The TXT records will help the deliverability of your emails.

Tweak the sending defaults

Settings > Sending Defaults
https://mandrillapp.com/settings/sending-options

Forward Bounce Notifications To This Address
admin@example.com

Custom SPF/DKIM Signing Domain
select your domain name

Keep in mind: free users can send up to 25 emails per hour.
https://mandrill.zendesk.com/hc/en-us/articles/206274698

Here is a snippet of php code that you can use to send some test emails.
https://gist.github.com/lordspace/83e9295b7196d4dc8f56

Enjoy emailing your users and don’t even send a single spam message!


With qSandbox you can setup a test WordPress site in seconds (with full admin access) to learn, design and experiment.

Did you know that you can also setup a test WooCommerce store with hundreds of sample products in seconds (requires Plan 5 or better) ?

Try qSandbox for free today.

Like what you read? Give qSandbox.com a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.