Setting up Email Sending with Mailgun

Shown only logged in

On any of the paid Postaga plans, you can connect a Mailgun account so that you can send emails leveraging the Mailgun platform.

Here is the process:

Sign up with Mailgun

Go to Mailgun signup –

Enter your details. Choose the default “Foundation Trial” tier

You can enter your credit card (while not required for the free trial duration, if you intend to use it you should enter your card) and then create your account.

(Note: If you don’t add a credit card in Mailgun, the API integration may not work because you will not be able to add sending domains to your Mailgun account)

Mailgun will then send you a confirmation email, which will require that you give Mailgun a phone number to send an authorization code to.

Once confirmed, your Mailgun account is set up. We’re going to come back to Mailgun, so don’t close it from your browser just yet.

Connecting Postaga with Mailgun

In your Postaga account or sub-account, go to Settings > API > Connect Mailgun


Now, you will have to enter your Mailgun API key. In Mailgun, go to the APIs page (, copy the private key, and enter the Mailgun private API key in the Postaga box that says Custom Mailgun API Key.

postaga api key mailgun

In the box for Custom Mailgun Domain, you will need to enter a domain that you would like to use to send emails from. This domain should be: 

    1. A domain where you have access to its DNS records (because you will need to edit the domain DNS records)
    2. A domain that is not being used for sending regular business emails. Or, if you have a domain (like “”) you could assign a subdomain (e.g. “”) for these emails to come from

Postaga will then show on the page specific DNS records that you will need to add for that domain

postaga enter dns records

Editing your DNS Records

Now we need to edit the DNS records for the domain that you entered in Postaga for your Custom Mailgun Domain. If you do not know who your DNS provider is, you can find out by going to, and typing in the box “dns:[your website]” and hitting enter.

Look up your DNS provider with MXToolbox
  1. In your DNS provider, add all of the DNS records that Postaga provided that you need to add

Note – if your DNS provider is Cloudflare, for the two CNAME records, deselect the cloud icon so it says status as “DNS Only”

Back in Mailgun, go to the Domains page ( Click the green Verify DNS settings button

If everything has been set properly, there should be green checkmarks next to each of the DNS records.

If you are all set, but you are not redirected to an overview page, click the green Verify DNS settings button a second time (provided that all of your DNS records are set properly and show up with a green check-mark), and Mailgun will redirect you to an overview page

Now, all the items should have a checkmark next to them, and in the Domains page in Mailgun (, there should be a green checkmark next to the domain name

Back in Postaga, click Recheck DNS records on the APIs page, and all of the records should be OK. Then click Save. Now, you are done with all of the apps besides Postaga.

Creating an Email Address in Postaga

In Postaga, go to Users > Connected Emails, and add a new one

Choose Mailgun as the type

Go through the setup process as you normally would for email setup. You should:

A. Set the receiving email to another address that you want copies of all email replies to go to (it can be any email like your work email or a personal email address)

B. Add an email signature

Save, and now you should be good!

Free 14-Day Trial

Start building relationships now with your fully-featured 14-day trial!

Terms | Done-For-You Terms | Privacy | Write For Us | Press
© 2024 Postaga. All Rights Reserved. Made with 😺 in Boston.

Join Our Link Building Community on Facebook!