Our Mandrill Migration Guide will help you switch to Pepipost in a snap!

Migrations don’t have to be difficult, which is why we’ve put together a simple Mandrill migration guide.

Simplified API integration from Mandrill to Pepipost

We know that you have already spent countless hours integrating and fine-tuning your transactional email strategies. We don’t want your efforts to go to waste, so we’ve kept migration simple.

Enter the Mandrill to Pepipost Migration API. The process is straightforward: just replace the API key and URL in your current Mandrill API code or SDK. The parameter name and output will remain the same. Our goal is to keep transactional emails painless, saving you the time and the headache of a multi-step migration.

Use these API Calls for Mandrill and Pepipost:

Mandrill API URL: https://mandrillapp.com/api/1.0/messages/send.json
Pepipost API URL: https://api.pepipost.com/api/1.0/messages/send.json

Mandrill Parameters Pepipost
key*
string
a valid API key
message* The information on the message send
html
string
the full HTML content to be sent YES
subject
string
the message subject YES
from_email
string
the sender email address.
email
YES
from_name
string
optional “from” name to be used YES
to
array
an array of recipient information.

to[] struct a single recipient’s information.
email*
string
the email address of the recipient

required

name
string
the optional display name to use for the recipient
type
string
the header type to use for the recipient, defaults to “to” if (to, cc, bcc) is not provided

 

YES
global_merge_vars
array
global merge variables to use for all recipients. You can override these per recipient.

global_merge_vars[] struct a single global merge variable
name
string
the global merge variable’s name. Merge variable names are case-insensitive and may not start with _
content
mixed
the global merge variable’s content
YES
merge_vars
array
per-recipient merge variables, which override global merge variables with the same name.

merge_vars[] struct per-recipient merge variables
rcpt*
string
the email address of the recipient that the merge variables should apply to

required

 

vars
array
the recipient’s merge variables
vars[] struct
a single merge variable
name
string
the merge variable’s name. Merge variable names are case-insensitive and may not start with _
content
mixed
the merge variable’s content
YES
tags
array
an array of strings to tag the message with. Stats are accumulated using tags, though we only store the first 100 we see, so this should not be unique or change frequently. Tags should be 50 characters or less. Any tags starting with an underscore are reserved for internal use and will cause errors.

tags[]*
string
a single tag – must not start with an underscore

required

 

YES
attachments
array

Example Request JSON (copy paste the below code in your terminal, after editing it with your API key):


curl -d \
'{

    "key":"yourapikey",
    "message":{
        "html":"

hi [% FIRST_NAME %], Pepipost Mandrill Migration API Testing

", "subject":"hi [% FIRST_NAME %], Pepipost Mandrill Migration API Testing", "from_email":"test@mydomain.com", "from_name":"Pepipost Testing", "tags":[ "Tag Of Mail" ], "to":[ { "email":"mytestid@gmail.com", "name":"Mike", "type":"to" }, { "email":"mytestid2@yahoo.com", "name":"Steve", "type":"to" } ], "merge_vars":[ { "rcpt":"mytestid@gmail.com", "vars":[ { "name":"FIRST_NAME", "content":"Steve" }, { "name":"LAST_NAME", "content":"Tally" } ] }, { "rcpt":"mytestid2@yahoo.com", "vars":[ { "name":"FIRST_NAME", "content":" Mike" }, { "name":"LAST_NAME", "content":"Shabby" } ] } ] } }' 'https://api.pepipost.com/api/1.0/messages/send.json'

If you are currently using Mandrill SMTP, it’s a simple change. You can replace your current Mandrill SMTP credentials with the following:

SMTP Host: smtp.pepipost.com

Username: Your Pepipost username

Password: Your Pepipost password

Port: 25/587/2525

Still confused or looking for additional help to complete the integration? We’re available 24/7 over live chat, or by email at support@pepipost.com.

Ready to get started?

Get started with up to 30,000 emails/month free!

Pepi thinking

Start typing and press Enter to search

Thank you for your details!

Fill out your information below, and we will send you a PepiAlert, that will describe your domain’s email deliverability situation. Please note that your email address must match the domain, or the domain must be owned by the company matching the email address. We have the right to refuse the request, if we can’t verify the information.

*All fields are required