KDC.in
  • Welcome
  • qTap.buzz
    • Introduction
    • eMail
      • Routes
        • AWS SES
        • Mailgun
        • SendGrid
    • SMS
      • Routes
        • Twilio
        • MessageBird
        • Msg91
    • WhatsApp
      • Conversation Pricing
    • Voice
    • Chat
    • Push Notification
  • Payments
    • Introduction
Powered by GitBook
On this page
  • Step 1. Account Setup
  • Step 2. Mailgun Integration in KDC
  • Step 3. Delivery Reports
  • đź’« Advanced
  • Send additional parameters to Mailgun
  • IP Whitelisting
  • đź”— Links
  1. qTap.buzz
  2. eMail
  3. Routes

Mailgun

Guide on how to add Mailgun Email Integration

Last updated 1 year ago

Step 1. Account Setup

  • If you do not have an account with Mailgun yet, create an account here.

  • Next you need to verify your domain. To create and verify a domain, please follow the Mailgun guide . Your account will have a sandbox domain initially, with which you can test emails with upto 5 .

Step 2. Mailgun Integration in KDC

Keys
Details

From Address

Your verified “From” email address

From Name

“From Name” of your emails. You can also pass this in the Send Event API. Check the Advanced section below.

API Key

Domain

Reply to Address

Reply email address. You can also pass this in the Send Event API. Check the Advanced section below.

Step 3. Delivery Reports

Follow the steps to setup delivery reports:

  1. On the KDC dashboard, once you successfully add the Mailgun Integration, you will see it in the “Live” tab. Go to the Live tab, and click on Mailgun Email. You will see a URL as Status Webhook, present in the integration. Copy this URL.

  2. Log in to Mailgun and go to Sending > Webhooks.

  3. Create a Webhook and Paste the Status Webhook URL copied in Step 1.


đź’« Advanced

Send additional parameters to Mailgun

KDC will send the fields present in the Email template to Mailgun by default. Additionally, you can send “cc”, “bcc”, “From Name”, “Reply-to” fields in the Send Event API. This will override the fields added in the Integration. Please check our Override doc here.

IP Whitelisting

IPs: 139.59.53.104 | 64.227.148.154

đź”— Links

Your Mailgun Private API Key. To get your API key, check .

Your verified email domain name. Check your domain name .

You can control access to Mailgun by specifying KDC’s IP address, or make sure KDC’s IP addresses are not blocked. Please follow the Mailgun guide .

here
authorized recipients
here
Mailgun Website​
Mailgun Documentation​
Mailgun Console
here
here