Mailgun integration requires a API key from Mailgun to integrate into Kartra. 

*Please Note: This means most issues will need to be solved via Mailgun and Mailgun support.

Mailgun integration

Go to Integrations in your Kartra account. Upon selecting the Mailgun tab within the email gateway model window you will be presented with the following. 

Integrate Mailgun SMTP with Kartra

Login to MailGun on a separate tab and collect the API key from the API options within Mailgun.

After logging into Mailgun, select the domain tab, and then select the domain you wish to use. 

Mailgun 01

You will then be presented with the domain information which will include your "API Base URL" (your domain) and your API key. 

Mailgun 02

*Please Note: Mailgun may change their website from what appears in this document; but there should still be an API section with the key information. If you cannot find your MailGun API Keys, please contact Mailgun support.

*IMPORTANT NOTE: There is one final check you must do inside your Mailgun account. Go to the "Domains" section, and turn all their Tracking Settings to OFF mode.

The reason for that is because MailGun will inject their tracking codes into your Kartra emails which will mess up your email contents, links, etc. These analytics can still be collected within your Kartra analytics, but your MailGun analytics may be inaccurate when this is disabled. 

Mailgun 05

Now you're done in Mailgun, go back to your Kartra account.

In the integration configuration:

  1. Name your integration. This is to help you identify it in your account.
  2. Add the “API Key” and "domain" from Mailgun.
  3. Select your domain region.
  4. Add a sender name and send-from / reply-to email addresses.
  5. Click Create to save the integration.