Use your Mailgun Account to Send Customer.io

Use your Mailgun Account to Send Customer.io


Customer.io supports using your own Mailgun account to send email with zero loss in functionality. To do this there are two places you'll need to change settings:

1. On Mailgun

First, you need to point Mailgun's webhooks at Customer.io and get your SMTP information.

Point Mailgun's webhooks at Customer.io

Add the following webhook URL on the Mailgun webhooks page or every domain you'll be sending via Customer.io:

https://track.customer.io/mailgun/events

Example webhook config

WARNING!

The Clicks and Opens webhooks should not be sent back to Customer.io as we're already tracking this information on our side and each event will be recorded twice (via Customer.io and via Mailgun).

If you want to track opens and clicks via Mailgun only, you can change the sending behavior on an email by email basis.

Get your SMTP Information

On the main screen for your domain, you'll find your SMTP credentials. You'll need them to configure Customer.io.

Mailgun config settings

2. In Customer.io

Configure custom SMTP settings

First, head to Custom SMTP Settings in the Message Settings section and click the Add Custom SMTP Server button:

Custom SMTP settings

Then add in your Mailgun SMTP credentials:

Mailgun SMTP settings

Field Value
Address smtp.mailgun.org
Port 2525
Authentication Login
User name [Your Username}
Password [Your Password]

When you save your settings, we'll start sending emails through your Mailgun account.

Success!

Your account is now set up to send email through Mailgun. If you have any questions or feedback about setting this up, just get in touch and we'll be happy to help!

Was this article helpful?