Mailgun

Email Validation From Maligun within the CRM

Activate Email Validation to have MailGun validate your new emails automatically inside the CRM.


Please note:


Please Note: 



How to enable Email validation in the CRM:

  1. Click on Switch to Agency View
  2. Click on Settings

  3. Click on Email Services and Navigate to Location Settings

  4. Enable Email Validation by clicking on the toggle in front of the desired account:
    Please Note:


How to enable Email re-validation in the CRM:

  1. Once you are in the agency view, click on Accounts

  2. Search by the account name

  3. Click on the account name

  4. Scroll down to Email Advanced Settings > Enable Re-validation for 90 days revalidated


FAQ


How does email validation work?


Email validation validates new contacts when entering the system for the first time (form, survey, calendars, chat widget) or when sending a new email after enabling email validation.


Head into the contact record > scroll down the right side > click the envelope icon.


Green = Valid

Red = Invalid, too old, previously bounced, unsubscribed, etc. The error would specify why the Email is invalid.


Why won't my DNS records work in SquareSpace?

As per SquareSpace's support, they do not allow changes to the DNS to be made via the Google Chrome browser.


To fix, simply use a different browser to add the DNS records.

Mailgun Setup Checklist

Are You Signed Up For The Right Mailgun Account?

  • Foundation 50k is the minimum plan level necessary (Flex “Pay as you Grow” plan does not include Replies)



Have You Configured Your Sending Subdomain Correctly In Mailgun?

  • Create a subdomain from your chosen root domain (ex: reply.yourdomain.com)
  • Add the DNS records provided by Mailgun into your domain settings

  • Verify the DNS records in Mailgun (give time for your DNS records to propagate)

  • Under Sending > Domains, verify “green checkmark” shows next to the subdomain

  • Under Sending > Domain Settings, turn on Click Tracking and Open Tracking; Turn on Unsubscribes, if desired

  • Update Tracking Protocol to HTTPS (this creates an SSL certificate for your subdomain, so if your root domain SSL is expired or compromised in some way, the links in your emails will still work)

  • Under Receiving, ensure a Catch-All Route is configured with the webhook (Note: This route should auto-create once your Mailgun API key and subdomain are configured inside the platform)




Is Your Sending Subdomain Set Up In the Platform Correctly?


  • Under your account View > Settings > Mailgun, ensure the API key and subdomain are associated with the desired account
  • Switch to your account > Head in the Account Settings, > Click on the SMTP and Mailgun Service, ensure the desired subdomain is showing and defaulted as the Default Provider
  • BCC Emails field – only if you want ALL OUTGOING emails from the software to also go to an outside account
  • Forwarding Address – only if you want ALL INCOMING replies to also go to an outside account
  • Forward to Assigned User – only if assigning Users to Contacts and/or Campaigns and want ALL INCOMING replies to also go to an outside account



NOTE:
For BCC and Forwarding actions, please note that using an outside account to interact with the software emails will break the Reply Route, so NO further email replies will show in Conversations for that email chain. If you want all email communication to show in the software make sure you/your clients are not interacting with them from an outside account.



Have You Configured Your "From Name" and "From Email"?

  • The software needs to know the Name and Email Address of who your emails should be from. Below is the hierarchy of how the software looks for that information. Once it finds a value, it will stop looking and use the value it found:
  1. Contacts > Bulk Request > “Send Email” icon > From Name and From Email (if applicable)

  2. Workflow > Individual Email (or Campaign Configuration if using Campaigns) > From Name and From Email

  3. Workflow > Settings > From Name and From Email

  4. Assigned User

    1. If using Campaigns, the software looks to Campaign Configuration > Assigned User first (will use the Name and Email address associated with their user profile)
    2. If not using Campaigns, the software looks to Contact > Assigned User (will use the Name and Email address associated with their user profile)
  5. Company Name and Company Email address




It's Still Not Fixed!

  • Aside from the basic setup, there are countless factors that play into email deliverability, making it virtually impossible to troubleshoot from a checklist.
  • If you’ve gone through each step above and are still experiencing issues, please book a call with Krystin at Email-2-Inbox by clicking here.

    *This checklist may not be an inclusive list and is intended for educational purposes only

    *Correct configuration of email setup in the software, MailGun, and DNS is the sole responsibility of the account owner, and should be validated through thorough testing
    *Setup according to this strategy is at the sole discretion of the account owner

What will be the order of Email Provider we will use to send emails?

The order of Email Provider we will use to send emails:


  1. Your account Default Provider (Your account view)



  2. Email Settings for Locations (Your account view)

    If no default provider is selected at the location level, it will be using the provider configured in your account view.

    https://app.youraccount.com/settings/email_services



Setting up Mailgun for Locations:

  • You can configure each location with your client's own Mailgun or your Mailgun.
  • We can use the same Mailgun API and the same domain/subdomain for multiple locations.
  • We can use the same Mailgun API and different domains/subdomains for multiple locations.
  • We can use different Mailgun APIs and domain/subdomain for multiple locations.
  • You can also set up a unique domain/subdomain for each location to capture cold inbound emails. 


Setting up LC email for Locations:


  • If you add the custom domain at the your account level, it will be used for all your accounts until you set up a custom domain at the your account level. In that case, it will use the your account one as the priority.
  • What is LC - Email? 
  • How to Migrate My Account Over to LC - Email
  • How to Set Up a Dedicated Sending Domain (LC Email)
  • How to set up a Dedicated Sending Domain using GoDaddy (LC Email)


We have a new download feature for email service settings. This option is especially beneficial for users managing high-volume accounts, providing an easier way to handle your email settings:


  1. Default provider in Email Services tab (Your account view)

    https://app.youraccount.com/settings/email_services





  • Each new location will inherit the settings based on this configured Mailgun API key. 
  • We will also use it to send the email verification code.


  1. LeadConnector Email

    If nothing is set up, we will use something similar to this subdomain to send and receive emails.




How to setup Replies in MailGun

In this article, "How to Setup Replies in Mailgun," you'll learn how to configure Mailgun in the software to effectively manage email replies. The guide walks you through the essential steps for setting up webhooks, ensuring that replies to your messages are captured accurately. Additionally, it highlights the importance of domain authentication and offers troubleshooting tips to help you resolve common issues, allowing you to enhance your email communication and engagement.


Check Receiving Routes in Mailgun

  1. Once you log on to Mailgun, Click on the Receiving tab and see if the webhook matches the screenshot below:

  2. If the client had the client get their own Mailgun account and the forward link needs to be white-labeled, they can use the webhook in the screenshot below:

  3. If there are other webhooks that do not match the one in the screenshot, try removing them and see if it will fix the issue.

  4. If there is no webhook there (should look like what's below), click on Create Route

  5. Configure the following:

    • Expression Type: Catch All
    • Enable Forward: Paste this "https://services.l*e*a*d*connectorhq.com/conversations/providers/mailgun/webhook/inbound" in the Forward section and REMOVE the **** in the URL
    • Priority = 99
    • Description: Account Route
  6. Click Save


Resetting the Mailgun API key


Your account view > Settings > Email Services > Location Settings > Edit the Mailgun API integration for your account > type Delete


And then re-integrate again: Once it's done, refresh the Receiving page in Mailgun to see if the hook was created


Frequently Asked Questions


  1. What is the difference between Mailgun replies and regular email replies? Mailgun replies are specifically managed through the Mailgun API and are designed to streamline email handling for applications. Regular email replies are handled through standard email clients without the automation features offered by Mailgun.

  2. Can I set up automatic responses for specific types of replies? Yes, you can configure automatic responses in your Mailgun settings based on specific triggers or keywords in the replies. This feature can help manage customer inquiries more efficiently.

  3. How do I troubleshoot issues with email replies not appearing in Mailgun? If email replies are not appearing, first check your Mailgun configuration settings, ensure your webhooks are set up correctly, and verify that your domain is properly authenticated. You can also review your logs for any errors.

  4. Are there any limits on the number of replies I can receive through Mailgun? Mailgun has usage limits based on your subscription plan. Be sure to check your plan details to understand any restrictions on the number of replies or messages you can handle.

  5. How can I ensure my replies are secure and compliant with email regulations? To maintain security and compliance, make sure you follow best practices for email authentication (like SPF and DKIM) and monitor your email activity. Familiarize yourself with regulations such as GDPR or CAN-SPAM to ensure your processes align with legal requirements.

Cold Email Inbound Setup Mailgun

By Default


If I mask the sender email like testing@gmail.com, the reply-to address will show as testing@replies.subdomain.com, and there's no way to change this. replies.subdomain.com is the Mailgun subdomain you set up for your account in the platform Settings -> Email Services. Only when the contact replies to the email sent from the software, will the replies show up in the Conversation tab. If the contact initiates an email to testing@replies.subdomain.com, replies won't show up in the Conversation if the domain is set up for more than one account.


Cold Email Inbound Setup


1. Set up Mailgun


We will set up agency.com / mg.agency.com with Mailgun.

  • You can use the same Mailgun account for all accounts

E.g. If you have a domain like agency.com, you can set up a unique subdomain for each account like subaccountname.agency.com, so each account will have its own Mailgun subdomain set up to capture all email replies.


If your clients have their own domain, you can also set up a unique domain/subdomain for them. But if their main domain is already used for another email service, we will need to use a subdomain in this case.


That way, we will know which accounts to route the email to.


2. Make sure the Mailgun domain is configured for ONE account only


As long as there is only ONE account mapped to that Mailgun domain you just set up, it will route all inbound emails to that account.


Check the platform View > Settings > Email Services > Location Settings.


If you are using the same subdomain/domain for multiple accounts, we will not know which account to route the email replies to when the lead is emailing the reply-to email address directly instead of replying to the email sent from the software.


If you only configure the domain/subdomain for one account, but it's still not working, check if the same domain is configured in the Domain Services tab as well.

Please reach out to support if you recall that there might be a deleted account with the same Mailgun domain selected.


3. Test


If you set up domain.com, you can use testing@domain.com to capture incoming emails. So if the contact initiates the Conversation by sending an email to anything@domain.com, it will show up in the Conversation tab.

If you set up a subdomain like mg.domain.com, you can use anything@mg.domain.com to capture incoming emails.


FAQs


Does cold inbound email work with LC email?


Yes

Mailgun API Key - Where to Find in Mailgun & Put in HighLevel

Log in to Mailgun


Make sure the domain is set up for US and there's a green checkmark next to the domain.




To create a new Mailgun API Key:


  1. In the top-right corner of the Mailgun Control Panel, click your Profile Menu to expand the drop-down list of options.

  2. Next, click the API Security option.

  3. To create the new key, click the Add new key button.

  4. Finally, type a description and click the Create Key button in the pop-up modal to confirm the creation of the new Mailgun API Key.



Go to the platform's Email services page:


Domain Service tab:

  • Each new location will use the settings based on this configured Mailgun API key on the Domain service tab. 
  • We will also use it to send the email verification code.

Select Mailgun as the SMTP Provider.


Paste the API Key and select the Domain here, click save.



Location Settings:

  • You can configure each location with your client's own Mailgun or your Mailgun.
  • You can use the same Mailgun API and the same domain/subdomain for multiple locations.
  • You can use the same Mailgun API and different domains/subdomains for multiple locations.
  • You can use different Mailgun API and domain/subdomain for multiple locations.
  • You can also set up a unique domain/subdomain for each location to capture cold inbound emails. 


Click on the Edit ✏️ icon.



Paste the Mailgun API key here and select the domain you configured from the dropdown, Click Save.


If the domain you set up does not show up from the dropdown:

  1. Please set up the domain or subdomain under US, not EU.

  2. Check if the Mailgun account has added allowed IP in Mailgun. If so, we are not able to pull it. Please remove all the IP whitelist; you can add it back later on.



Click Save.


You can toggle on Email Validation for the location. Email validation is a paid service and is charged at $0.012 per email.

Mailgun Setup - Siteground Domain Setup

Step-by-step Mailgun Setup - Siteground Domain Setup


  1. Sign up for Mailgun.com

  2. Check your email inbox to verify the email address

  3. Login to Mailgun, Click on Sending > Add New Domain

  4. If your domain is companyname.com, you can either set up the main domain or subdomain with Mailgun.



        A. Main domain: 

  • If you are adding the main domain, it should not be used with Gsuite or any other email provider.


            Subdomain: To set up the subdomain with Mailgun, you can type                                 ANYTHING_HERE.companyname.com
  

  • Examples:
    • mg.companyname.com
    • replies.companyname.com
    • support.companyname.com

        B. Please set up the domain or subdomain under US, not EU.

        C. Click on Add domain

The next screen that you're taken to will ask you to add DNS records to your domain. Leave this screen open for the next step.

  1. Now log in to your DNS records based on where you get the domain and add the 5 DNS records.

To add the 1st TXT record:


To add yourFirst TXT record, Log in to Siteground
Go to Site Tools > Domain > DNS Zone Editor

In the Create New Record section:

  1. Click on the TXT tab

  2. Name: different for everyone, DO NOT INCLUDE THE ROOT DOMAIN

    • Depending on the subdomain you are trying to set up:

      • mg.companyname.com: The host name will be mg
      • replies.companyname.com: The host name will be replies
    • If you are setting up a main domain like companyname.com, the host name will be @ or leave empty
  3. Value: Same for everyone
    Paste the following record: v=spf1 include:mailgun.org ~all

  4. Click on CreateTo add the 2nd TXT record:

    Click on + Add Record again


    1. Click on the TXT tab

    2. Name: It's a bit tricky but the key here is to copy everything from the beginning until the subdomain part, DO NOT INCLUDE THE ROOT DOMAIN.

      **Everyone's 2nd TXT record host name and value is different.
      Examples:

      Example 1 using subdomain:


      Copy mx._domainkey.helpdesk as the host name


      Example 2 using main domain:


      Copy mailo._domainkey as the host name


    3. Value: Head back to Mailgun and Copy and paste the 2nd TXT record here highlighted in the screenshot below 

    4. Click on Create


To add the 1st MX records:


Click on the MX tab > Select Add your own MX records


If you have a Gsuite account to capture incoming emails for the main domain, make sure you are using a subdomain for Mailgun.


  1. Name: Different for everyone
            

    • Depending on the subdomain you are trying to set up

      • mg.companyname.com: The host name will be mg

      • replies.companyname.com: The host name will be replies

    • If you are setting up a main domain like companyname.com, the host name will be @
  2. Priority is 10, which is the same for everyone

  3. Destination: Same for everyone
    Paste the following data: mxa.mailgun.org

  4. Click on Create


To add the 2nd MX records:


Add another MX record. This time, the destination will be mxb.mailgun.org.

  1. Name: Different for everyone

    • Depending on the subdomain you are trying to set up

      • mg.companyname.com: The host name will be mg

      • replies.companyname.com: The host name will be replies

    • If you are setting up a main domain like companyname.com, the host name will be @
  2. Priority is 10 which is also same for everyone no matter what domain you are trying to set

  3. Destination: Same for everyone
    Paste the following data: mxa.mailgun.org

  4. Click on Create



To add the CNAME record:


  1. Click on the CNAME tab

  2. Name: Different for everyone
    Head back to Mailgun to copy the host name. It's a bit tricky, but the key here is to copy everything from the beginning until the subdomain part, DO NOT copy the main domain.

        

    • Depending on the subdomain you are trying to set up:

      • mg.companyname.com: The host name will be email.mg
      • replies.companyname.com: The host name will be email.replies
    • If you are setting up a main domain like companyname.com, the host name will be email
  3. Resolves to: Same for everyone
    Paste the following data: mailgun.org

  4. Click on Create


Now that you have added the 5 records, go back to Mailgun and click on Verify DNS Settings.



Click the same button to Verify DNS Settings again if some records are still not showing the green checkmark.

Once you add all the DNS records and verify them, you can grab the Mailgun API Key and put it in the software.


Then, send a test email to see if everything works.

Mailgun Setup - Google Domain Setup

Step-by-step Mailgun Setup - Google Domains



  1. Sign up for Mailgun.com

  2. Check your email inbox to verify the email address

  3. Login to Mailgun, Click on Sending > Add New Domain

  4. If your domain is companyname.com, you can either set up the main domain or your account with Mailgun.




A. Main domain:



    Subdomain: 


  • To set up your account with Mailgun, you can type ANYTHING_HERE.companyname.com

    Examples:
    - mg.companyname.com
    - replies.companyname.com
    - support.companyname.com


B. Please set up the domain or subdomain under US, not EU. not EU. not EU.

C. Click on Add domain



  1. Now log in to your DNS records based on where you get the domain and add the 5 DNS records
  • Log in to domains.google.com
  • Click into the domain you are trying to set up
  • Click DNS on the left panel, we are going to add 5 DNS records





Copy the first TXT record here v=spf1 include:mailgun.org ~all


To add the 1st TXT record



Host name:


  • Depending on the subdomain you are trying to set up, if you are trying to set up
    - mg.companyname.com The host name will be mg
    - replies.companyname.com The host name will be replies
  • If you are setting up a main domain like companyname.com, the host name will be @


Type: Select TXT from the dropdown


Data: we will paste the first copied TXT record here  v=spf1 include:mailgun.org ~all




Don't click save yet, 4 more new records to add

Once you are done with the 1st record, click Create new record




To add the 2nd TXT record



Host name:


it's a bit tricky but the key here is to copy everything from the beginning until the subdomain part, do not copy the main domain


Examples: copy the highlighted part


Example 1 using subdomain


Example 2 using main domain:


Type: Select TXT from the dropdown


Data: we will paste the second long TXT record here



To add the MX records, click Create new record


Host name:


Depending on the subdomain you are trying to set up, if you are trying to set up
mg.companyname.com The host name will be mg
replies.companyname.com The host name will be replies


If you are setting up a main domain like companyname.com, the host name will be @


Type: Select MX from the dropdown


Data: paste the following data




To add the CNAME record, click Create new record


Host name:


Depending on the subdomain you are trying to set up, if you are trying to set up
mg.companyname.com The host name will be email.mg
replies.companyname.com The host name will be email.replies


If you are setting up a main domain like companyname.com, the host name will be email


Type: Select CNAME from the dropdown


Data: copy and paste mailgun.org


Now that you have added 5 DNS records, click SAVE!


Go back to Mailgun and click Verify DNS Settings


Click the same button to Verify DNS Settings again if some records are still not showing the green checkmark


Once you add all the DNS records and verify, you can grab the Mailgun API Key - Where to Find in Mailgun & Put in your account.


Then we could send a test email to see if everything works!

Mailgun Setup - CloudFlare Domain Setup

Step-by-step Mailgun Setup


1. Sign up for Mailgun.com


2. Check your email inbox to verify the email address



3. Login to Mailgun, Click on Sending > Add New Domain


 

4. If your domain is companyname.com, you can either set up the main domain or subdomain with Mailgun.


A. Main domain:

  • If you are adding the main domain, it should not be used with Gsuite, or any other email provider.

Subdomain:

  • To set up the subdomain with Mailgun, you can type ANYTHING_HERE.companyname.com
    Examples:
    • mg.companyname.com
    • replies.companyname.com
    • support.companyname.com


B. Please set up the domain or subdomain under US, not EU.


C. Click on Add domain




The next screen that you're taken to will ask you to add DNS records to your domain. Leave this screen open for the next step.



5. Now log in to your DNS records based on where you get the domain and add the 5 DNS records.


To add the 1st TXT record:


Log in to the Cloudflare dashboard and select an account and domain.


Click on DNS > Records


Click on + Add Record



A. Type: Select TXT from the Type menu options.


B. Name: DO NOT INCLUDE THE ROOT DOMAIN

Depending on the subdomain you are trying to set up:

  • If you are trying to set up mg.companyname.com, the host name will be mg
  • If replies.companyname.com, the host name will be replies
  • If you are setting up a main domain like companyname.com, the host name will be @


C. Content: Same for everyone
Paste the following record: v=spf1 include:mailgun.org ~all


D. Click on Save


To add the 2nd TXT record:


Click on + Add Record again


A. Type: Select TXT from the Type menu options.


B. Name: It's a bit tricky, but the key here is to copy everything from the beginning until the subdomain part, DO NOT INCLUDE THE ROOT DOMAIN


Everyone's 2nd TXT record hostname and value is different.


Examples:


Copy mx._domainkey.helpdesk as the hostname



Copy mailo._domainkey as the hostname



C. Content: Head back to Mailgun and copy the 2nd TXT record here highlighted in the screenshot below.

  • Content: Paste the 2nd very long copied TXT record here.



D. Click on Save


To add the 1st MX records:

Click on + Add Record again



If you have a Gsuite account to capture incoming emails for the main domain, make sure you are using a subdomain for Mailgun.


A. Type: Select MX from the Type menu options.


B. Name: Different for everyone

Depending on the subdomain you are trying to set up:

  • If mg.companyname.com, the host name will be mg
  • If replies.companyname.com, the host name will be replies
  • If companyname.com, the host name will be @

C. Mail Server: Same for everyone
Paste the following data: mxa.mailgun.org


D. Priority is 10, which is also the same for everyone.


E. Click on Save


To add the 2nd MX record:


Click on + Add Record again


A. Type: Select MX from the Type menu options.


B. Name: Different for everyone
Depending on the subdomain you are trying to set up:

  • If mg.companyname.com, the host name will be mg
  • If replies.companyname.com, the host name will be replies
  • If companyname.com, the host name will be @


C. Mail Server: Same for everyone
Paste the following data: mxb.mailgun.org


D. Priority is 10, which is also the same for everyone.


E. Click on Save


To add the CNAME record:


In Cloudflare, Click on + Add Record again


A. Type: Select CNAME from the Type menu options.


B. Name: Different for everyone

Head back to Mailgun to copy the host name. It's a bit tricky, but the key here is to copy everything from the beginning until the subdomain part. DO NOT copy the main domain.

Depending on the subdomain you are trying to set up:

  • For mg.companyname.com, the host name will be email.mg
  • For replies.companyname.com, the host name will be email.replies
  • For companyname.com, the host name will be email


C. Target: Same for everyone
Paste the following data: mailgun.org


D. Click on the orange cloud (Proxied) to make it DNS only.


E. Click on Save



Now that you have added 5 records, go back to Mailgun and click on Verify DNS Settings.

Click the same button to Verify DNS Settings again if some records are still not showing the green checkmark.


Once you add all the DNS records and verify, you can grab the Mailgun API Key – Where to Find in Mailgun & Put in the software.


Then we could send a test email to see if everything works! Click here to learn how to send a test email in the conversation.

Mailgun Setup - Namecheap Domain Setup

Step-by-step Mailgun Setup - Namecheap Domain Setup


1. Sign up for Mailgun.com.


2. Check your email inbox to verify the email address.


3. Log in to Mailgun, click on Sending > Add New Domain.



If your domain is companyname.com, you can either set up the main domain or subdomain with Mailgun.


4. A. Main domain:

  • If you are adding the main domain, it should not be used with Gsuite or any other email provider.

Subdomain:

  • To set up the subdomain with Mailgun, you can type ANYTHING_HERE.companyname.com.

Examples:

  • mg.companyname.com
  • replies.companyname.com
  • support.companyname.com


B. Please set up the domain or subdomain under the US, not the EU.


C. Click on Add domain.


5. Now log in to your DNS records based on where you got the domain and add the 5 DNS records.

  • Log in to Namecheap.com
  • Click on Domain List > Manage.



  • Click on Advanced DNS. We are going to add 5 DNS records.



To add the 1st TXT record:


Click on Add New Record.


Select TXT Record from the dropdown.


A. Host:

Depending on the subdomain you are trying to set up, if you are trying to set up:

  • mg.companyname.com, the host name will be mg.
  • replies.companyname.com, the host name will be replies.

If you are setting up a main domain like companyname.com, the host name will be @.


B. Head back to Mailgun and copy the first TXT record here: v=spf1 include:mailgun.org ~all.

Value: Paste the first copied TXT record here: v=spf1 include:mailgun.org ~all.



C. Click on the green check.


To add the 2nd TXT record:


Click on Add New Record.


Select TXT Record from the dropdown.


A. Host:

It's a bit tricky, but the key here is to copy everything from the beginning until the subdomain part. DO NOT copy the main domain.


Examples: copy the highlighted part.


Example 1: Using subdomain

Example 2: Using main domain:


B. Value: Paste the second long TXT record here.



C. Click on the green check.


To add the 1st MX record:


Scroll down to MAIL SETTINGS.


Switch the dropdown to Custom MX.



This will affect your existing Gsuite account to capture incoming emails for the main domain if you have Gmail selected originally. Make sure you are using a subdomain for Mailgun. 


You will need to add back 5 MX records for Google Gmail:


HostTime to Live (TTL*)PriorityValue
@36001ASPMX.L.GOOGLE.COM
@36005ALT1.ASPMX.L.GOOGLE.COM
@36005ALT2.ASPMX.L.GOOGLE.COM
@360010ALT3.ASPMX.L.GOOGLE.COM
@360010ALT4.ASPMX.L.GOOGLE.COM


Once you add back all FIVE MX records above, we can then add our MX records for Mailgun.


Click on Add New Record.


A. Host:

Depending on the subdomain you are trying to set up:

  • mg.companyname.com, the host name will be mg.
  • replies.companyname.com, the host name will be replies.

If you are setting up a main domain like companyname.com, the host name will be @.


B. Value: Paste the following data: mxa.mailgun.org.


C. Priority: 10.


D. Click the green check.



To add the 2nd MX record:


A. Host:

Depending on the subdomain you are trying to set up:

  • mg.companyname.com, the host name will be mg.
  • replies.companyname.com, the host name will be replies.

If you are setting up a main domain like companyname.com, the host name will be @.


B. Value: Paste the following data: mxb.mailgun.org.


C. Priority: 10.


D. Click the green check.



To add the CNAME record:


Scroll back up to the top section named HOST RECORDS.


Click on Add New Record.



Select CNAME Record from the dropdown.



Head back to Mailgun to copy the host name. It's a bit tricky, but the key here is to copy everything from the beginning until the subdomain part. DO NOT copy the main domain.



Go back to Namecheap:

A. Host:

Depending on the subdomain you are trying to set up:

  • mg.companyname.com, the host name will be email.mg.
  • replies.companyname.com, the host name will be email.replies.

If you are setting up a main domain like companyname.com, the host name will be email.


B. Value: Paste the following data: mailgun.org.


C. Click the green check.

  • Now that you have added 5 records, go back to Mailgun and click on Verify DNS Settings.
  • Click the same button to Verify DNS Settings again if some records are still not showing the green checkmark.



Once you add all the DNS records and verify, you can grab the Mailgun API Key and place it in the platform.


Then, send a test email to see if everything works!

MailGun Setup - HostGator Domain Setup

Step-by-step Mailgun Setup - HostGator Domain Setup


1. Sign up for Mailgun.com.


2. Check your email inbox to verify the email address.



3. Log in to Mailgun, click on Sending > Add New Domain.



4. If your domain is companyname.com, you can either set up the main domain or subdomain with Mailgun.


A. Main domain:

  • If you are adding the main domain, it should not be used with Gsuite or any other email provider.

Subdomain:

  • To set up the subdomain with Mailgun, you can type ANYTHING_HERE.companyname.com.
    Examples:
    mg.companyname.com
    replies.companyname.com
    support.companyname.com


B. Please set up the domain or subdomain under the US, not EU.


C. Click on Add Domain.


The next screen that you're taken to will ask you to add DNS records to your domain. Leave this screen open for the next step.



  1. Now log in to your DNS records based on where you get the domain and add the 5 DNS records.


To add the 1st TXT record:


1. Log in to cPanel.


2. Look for the Domains section, then click Zone Editor.



3. On the next page, locate your domain in the Zone Editor section, then click its Manage button.



4. Click Manage to view the domain's complete set of DNS records.


5. Click the +Add Record button and select Add "TXT" Record.



A. Name: Different for everyone, DO NOT INCLUDE THE ROOT DOMAIN.


Depending on the subdomain you are trying to set up:

  • mg.companyname.com — The host name will be mg.
  • replies.companyname.com — The host name will be replies.

If you are setting up a main domain like companyname.com, the host name will be @.


B. Record: Same for everyone
Paste the following record: v=spf1 include:mailgun.org ~all.


C. Click on Add Record.


To add the 2nd TXT record:
Click the +Add Record button and select Add "TXT" Record again.



A. Name: It's a bit tricky, but the key here is to copy everything from the beginning until the subdomain part, DO NOT INCLUDE THE ROOT DOMAIN.


Everyone's 2nd TXT record Host Name and record is different.

Examples:

  • Example 1 using subdomain: Copy mx._domainkey.helpdesk as the host name.
  • Example 2 using main domain: Copy mailo._domainkey as the host name.


B. Record: Different for everyone
Head back to Mailgun and copy the 2nd TXT record highlighted in Mailgun.

  • Paste the 2nd long copied TXT record here.


C. Click on Add Record.


To add the 1st MX record:

Click the +Add Record button and select Add "MX" Record.



If you have a Gsuite account to capture incoming emails for the main domain, make sure you are using a subdomain for Mailgun.

A. Name: Different for everyone


Depending on the subdomain you are trying to set up:

  • mg.companyname.com — The host name will be mg.
  • replies.companyname.com — The host name will be replies.

If you are setting up a main domain like companyname.com, the host name will be @.


B. Priority: 10, same for everyone.


C. Destination: Same for everyone

   Paste the following data:

  • mxa.mailgun.org.


E. Click on Save Record.


To add the 2nd MX record:


Click the +Add Record button and select Add "MX" Record.


This time, add another record for mxB.mailgun.org.




A. Name: Different for everyone

Depending on the subdomain you are trying to set up:

  • mg.companyname.com — The host name will be mg.
  • replies.companyname.com — The host name will be replies.

If you are setting up a main domain like companyname.com, the host name will be @.


B. Priority: 10, same for everyone.


C. Destination: Same for everyone
Paste the following data:

  • mxb.mailgun.org.


E. Click on Save Record.


To add the CNAME record:

Click the +Add Record button and select Add "CNAME" Record.


A. Name: Different for everyone
Head back to Mailgun to copy the host name. It's a bit tricky, but the key is to copy everything from the beginning until the subdomain part, DO NOT copy the main domain.


Depending on the subdomain you are trying to set up:

  • mg.companyname.com — The host name will be email.mg.
  • replies.companyname.com — The host name will be email.replies.

If you are setting up a main domain like companyname.com, the host name will be email.

B. Record: Same for everyone

  • Paste the following data: mailgun.org.


C. Click on Save Record.

Now that you have added 5 records, go back to Mailgun and click on Verify DNS Settings.


Click the button to Verify DNS Settings again if some records are still not showing the green checkmark.



Once you add all the DNS records and verify, you can grab the Mailgun API Key and input it into the software.


Then, you can send a test email to see if everything works!

Mailgun Setup - GoDaddy Domain Setup

Step-by-step Mailgun Setup - GoDaddy Domain Setup


1. Sign up for Mailgun.com


2. Check your email inbox to verify the email address.



3. Login to Mailgun, Click on Sending > Add New Domain.



4. If your domain is companyname.com, you can either set up the main domain or subdomain with Mailgun.


A. Main domain:

  • If you are adding the main domain, it should not be used with Gsuite, or any other email provider.

Subdomain:

  • To set up the subdomain with Mailgun, you can type ANYTHING_HERE.companyname.com
    Examples:
    • mg.companyname.com
    • replies.companyname.com
    • support.companyname.com

B. Please set up the domain or subdomain under US, not EU.


C. Click on Add domain.



The next screen that you're taken to will ask you to add DNS records to your domain. Leave this screen open for the next step.



5. Now log in to your DNS records based on where you get the domain and add the 5 DNS records.


To add the 1st TXT record

  • Sign in to your GoDaddy Domain Portfolio.
  • Click on the three dots for the Domain Edit Options next to your domain.
  • Select Edit DNS. You may need to scroll down to see the Edit DNS option.



Click on Add to add a new record.



A. Type: Select TXT from the Type menu options.


B. Host: DO NOT INCLUDE THE ROOT DOMAIN.


Depending on the subdomain you are trying to set up:

  • If you are trying to set up mg.companyname.com, the host name will be mg.
  • If you are trying to set up replies.companyname.com, the host name will be replies.
  • If you are setting up a main domain like companyname.com, the host name will be @.


C. TXT Value: Same for everyone.
Paste the following record: v=spf1 include:mailgun.org ~all



D. Click on Save.



To add the 2nd TXT record

  • Click on Add to add a new record.



A. Type: Select TXT from the Type menu options.


B. Host: Copy everything from the beginning until the subdomain part, DO NOT INCLUDE THE ROOT DOMAIN.


**Everyone's 2nd TXT record host name and value is different


Examples: 

  • Subdomain: mx._domainkey.helpdesk as the host name.
  • Main domain: mailo._domainkey as the host name.


C. TXT Value: Head back to Mailgun and copy the 2nd TXT record here.

  • Paste the 2nd long copied TXT record here.

D. Click on Save.



To add the 1st MX record



Click on Add to add a new record.



If you have a Gsuite account to capture incoming emails for the main domain, make sure you are using a subdomain for Mailgun.


A. Type: Select MX from the Type menu options.


B. Host:



  • For mg.companyname.com, the host name will be mg.
  • For replies.companyname.com, the host name will be replies.
  • For companyname.com, the host name will be @.


C. Points to: Paste the following data: mxa.mailgun.org


D. Priority: Set to 10 for all domains.


E. Click on Save.



To add the 2nd MX record

  • Click on Add to add a new record.


A. Type: Select MX from the Type menu options.


B. Host:


  • For mg.companyname.com, the host name will be mg.
  • For replies.companyname.com, the host name will be replies.
  • For companyname.com, the host name will be @.


C. Points to: Paste the following data: mxb.mailgun.org


D. Priority: Set to 10 for all domains.


E. Click on Save.

  • To add the CNAME record


Click on Add to add a new record.


A. Type: Select CNAME from the Type menu options.


B. Host: Head back to Mailgun to copy the host name (copy everything from the beginning until the subdomain part, DO NOT copy the main domain).

Depending on the subdomain you are setting up:

  • For mg.companyname.com, the host name will be email.mg.
  • For replies.companyname.com, the host name will be email.replies.
  • For companyname.com, the host name will be email.


C. Points to: Paste the following data: mailgun.org


D. Click on Save.

Now that you have added 5 records, go back to Mailgun and click on Verify DNS Settings.


Click the same button to Verify DNS Settings again if some records are still not showing the green checkmark.



Once you add all the DNS records and verify, you can grab the Mailgun API Key. Then send a test email to see if everything works!

Step-by-step guide to set up Mailgun

Mailgun Step-by-step guide:


1. Sign up for Mailgun here:

https://signup.mailgun.com/new/signup


2. Check your email inbox to verify the email address.



3. Click Sending > Add New Domain.



4. If your domain is companyname.com, you can either set up the main domain or subdomain with Mailgun.

  • Main domain:
    If you are adding the main domain, it should not be used with Gsuite, or any other email provider.
  • Subdomain:
    To set up the subdomain with Mailgun, you can type ANYTHING_HERE.companyname.com
    Examples:
    mg.companyname.com
    replies.companyname.com
    support.companyname.com
  • Please set up the domain or subdomain under US, not EU.
  • Click Add domain.



5. Now log in to your DNS records based on where you get the domain and add the 5 DNS records.

  • If you are not sure where you should add the DNS records:
  • Step 1: Lookup the domain that we are trying to set up in mxtoolbox.
  • Only put the domain here, do not add http:// in front.



Once you look up the domain, it should show what your DNS hosting provider is.


  • Step 2: Check the bottom note—it will say reported by e.g., wordpress.com.
  • Now we can add the DNS records to the domain provider. You can google WordPress DNS records if you are not sure where to locate the DNS records area.


Based on what your domain provider is, you can now add the DNS records according to the domain provider:


If you don't find the domain provider on this list, you can refer to one of the articles above, which should be similar.

  • Mailgun Setup - GoDaddy Domain Setup
  • Mailgun Setup - Namecheap Domain Setup
  • Mailgun Setup - Siteground Domain Setup
  • MailGun Setup - HostGator Domain Setup
  • Mailgun Setup - Google Domains
  • Mailgun Setup - CloudFlare


Once you add all the DNS records and verify, you can grab the Mailgun API Key and integrate it into your account.


Then you could send a test email to see if everything works! Click here to learn how to send a test email in the Conversation.

Mailgun - Overview

What is Mailgun?

  • Mailgun is a third-party service used to send emails in bulk. Similar to how Twilio is used to send text messages and calls. For new onboarding users, you will be using LC email by default, which operates under the platform's Mailgun account.


How much will Mailgun cost?

  • Mailgun's Foundation plan starts at $35/month. Learn more about Mailgun pricing here.


What domain should I use?

  • We recommend using a subdomain with Mailgun, like "mg.mydomain.com". By using a subdomain, you will be able to send emails from your root domain, e.g., "you@mydomain.com".
  • If using a subdomain, please ensure that you configure MX records for the subdomain to optimize email delivery. This is configured within your Mailgun account.


Note: You can only add domains you own. You will need to update the domain's DNS records to verify that you are an authorized owner or sender for this domain.


There are two different ways to set up Mailgun with the software:


 


ProsCons
1. One Sub-domain

 You can set up one sub-domain in Mailgun for your domain and use that same sub-domain for email sending across all of your client accounts in the platform.
>Easy setup – only need to set up one subdomain for your domain which you already have access to.

 >Emails are white-labeled to your domain, or you can buy a generic domain to avoid displaying any branding.
If your domain gets disabled (e.g., due to a bad score from high bounce rates), email will stop working for all of your clients since all their accounts are powered by the same domain.

 Solution: Avoid sending spammy emails to poor email addresses. :-)
2. Multiple Sub-domains

 You can set up a subdomain in Mailgun for each of your client's domains and use that subdomain for sending from their specific account. Once you set up a unique domain/subdomain for each client, you can capture cold inbound emails.
>Emails are white-labeled per the client domain.

 >If a client's domain gets disabled, email only goes down for their specific account.
Difficult setup – time-consuming having to set up a subdomain for all of your clients and gaining access to each of their domains.