Menu icon
RedCrackle
Menu icon
Services
01Design Transformation
About UsCase StudiesBlogContact Us

<

Blog post

Send Drupal's Transactional Emails using Mandrill

Neerav Mehta

Founder & CEO

In this video, we will show you how to integrate Drupal with Mandrill to sent transactional emails. Mandrill is an application developed by Mailchimp, which allows you to sent transactional emails and get the analytics, such as open rate and click rate.

First create an account at http://mandrillapp.com or login if you already have one. On logging in, you will see the dashboard. Click on SMTP and API Credentials.

Send Drupal's Transactional Emails using Mandrill

The next page shows you the hostname, SMTP port number, username and password. The password is any valid API key. Click on Add API Key.

Send Drupal's Transactional Emails using Mandrill

Mandrill will generate an API key for you.

Send Drupal's Transactional Emails using Mandrill

You'll need this key later while configuring Drupal's Mandrill module. Go to the modules page of your Drupal installation. You will see that there are four modules within the Mandrill module: Madrill, Mandrill template, Mandrill Reports and Mandrill Activity. In this article, we will go over the Mandrill module only. We will cover the remaining modules in other articles. Enable the Mandrill module. Mandrill requires mailsystem module, so it will enable that as well.

Send Drupal's Transactional Emails using Mandrill

Next step is to configure the module. Go to the Mandrill module configuration page at /admin/config/services/mandrill. Get the API key that you generated in http://mandrillapp.com and fill it in the configuration form. After saving it, the page shows you other options that you need to configure. Follow the screenshots below to configure them.

Send Drupal's Transactional Emails using Mandrill Send Drupal's Transactional Emails using Mandrill

Now you will need to configure the mailsystem module. Go to /admin/config/system/mailsystem. Configure Site-wide default mailsystem to use the MandrillMailSystem.

Send Drupal's Transactional Emails using Mandrill

Now, the Drupal is configured to send email via Mandrill. So, let’s test it out. Let’s go back to Mandrill configuration page at /admin/config/services/mandrill. Verify that the default system is the Mandrill mail system. The click on Send Test Email.

Send Drupal's Transactional Emails using Mandrill

Enter your email id and send a test mail. Check your inbox. You should have got an email from Drupal via Mandrill! If you go to the dashboard in http://mandrillapp.com, you will see the log of this email similar to what you see below.

Send Drupal's Transactional Emails using Mandrill
Neerav Mehta

Neerav Mehta

Founder & CEO

Neerav Mehta is the Founder & CEO of Red Crackle. With sterling qualities, Neerav’s technological acumen is firing a generation of progressive companies on the digital path. With an undergraduate degree in Electrical Engineering from India's most prestigious institution IIT Bombay and having spent seven years developing and contributing to the launch of AMD's innovative line of computer products, Neerav founded Red Crackle where he is lauded for his dynamic and innovative genius.

View all posts

>

Read Next

10 Tips For Entrepreneurs In 2015

10 Tips For Entrepreneurs In 2015

Learn more

10 Ways To Increase Productivity At Work

10 Ways To Increase Productivity At Work

Learn more

30 best WordPress widgets for your site

30 best WordPress widgets for your site

Learn more

Let’s get you started!

Contact Us

>

RedCrackle

Explore

About Us

Services

Contact Us

Our address

5346 Gerine Blossom Dr,

San Jose, CA 95123

USA

Socials

Twitter
LinkedIn

© 2023 RedCrackle. All rights reserved.