Bulk Email - Mailgun integration and setup

Mailgun allows users to send 1000's of emails at the click of a button with the request being managed outside of HRS Connect and handled by Mailgun's email servers which allow you to carry on recruiting without the need to wait for all emails to be sent. 

As part of the setup process, you will be required to make a change to your email domain in order to allow Mailgun to process and send these large volumes of emails on your behalf without the worry of being added to spam registers.


PLEASE NOTE - We strongly advise your internal IT or domain provider to action the steps under 'Verifying Your Domain'. Support will assist where possible but take no responsibility for domain DNS changes.

Setup a Mailgun account

You will need to visit the Mailgun site to setup to create a new account using the below link:

PLEASE NOTE: Mailgun is FREE for the first 10,000 emails each month. For charges over this amount please click the pricing calculator for more information. Although this is a free service for the first 10,000 emails per month, we strongly advise you enter your card details so that this is not classed as a demo account which may restrict the number of emails you can send.


Once the account is setup you will need to 'Add New Domain' from the Domains menu

Enter the domain you will be emailing from.

PLEASE NOTE - When entering your domain please DO NOT set this as 'www.'. This should be '' NOT '


PLEASE NOTE - You DO NOT need to create a subdomain as suggested in the below screenshot.

Activate your account

Once you have created your account and added a domain you will be sent an 'Activation Email'. Please check your inbox (and junk emails just in case) and follow the instructions which should provide a link to click on which will activate your Mailgun account.

PLEASE NOTE - The Mailgun integration with HRS will NOT work unless you have activated the Mailgun account from the activation link on the email.

Verifying Your Domain

In order to verify your email domain for sending you need to edit your DNS settings by adding TXT & MX records on your domain. Once the domain is added to Mailgun you will be presented with a window which displays the TXT and MX record information (see image below).

  1. Refer to your domain providers instructions on creating a txt record (links to domain providers can be found at the end of this article)
  2. Add the two TXT records to your domain.
  3. Add the two MX records to your domain. NOTE - MX records are recommended for all domains, even if you are only sending messages. Unless you already have MX records for yourdomain pointing to another email provider (e.g. Gmail) 

The values must be those shown on your Mailgun account. The below screenshot is for reference only.


PLEASE NOTE - It can take up to 24 hours to propagate the DNS changes made above though this typically happens within a matter of minutes.

Checking Your DNS Settings Work

Once the TXT and MX records have been setup on your mail server you will need to verify that the process is complete by checking the DNS records in MailGun

In Mailgun navigate to Domains > Select the relevant domain > Scroll down to domain verification & DNS (pictured below) > Click the 'Check DNS Records Now' button.

  1. The first image shown below indicates that either the settings were not correctly entered on your domain or it may simply mean it has not yet finished propagating in which case we advise to check back later or allow uop to 24 hours for this process to complete.
  2. The second image shows you how it should look once it has been succesfully set up and has propagated.

Obtain API Key

Finally, you will need to obtain the API key which will later be added to HRS Connect.

  1. Navigate to the top right of MailGun clicking the arrow to display a dropdown menu
  2. Select Accounts Settings
  3. Select API Keys
  4. Click the eye symbol to the right of the Active API Key to view the API Key which you can copy (to be pasted into HRS Connect). If no API Key is displayed then click the refresh icon and then copy the key.

Setup Mailgun in HRS Connect

In HRS Connect Navigate to Admin > Settings > Bulk Emailing > Bulk Sending.

Enable Mailgun by clicking the 'Off' which will now switch on the integration.

Once Mailgun is enabled within HRS the screen will then display further information to be entered.

  1. Paste in the API Key from the previous step
  2. Click the 'Test' button which will check this is correct
  3. Click the + icon to add your email domain which you added to Mailgun
  1. Once you have added the domain details click the refresh icon
  2. Once this returns back the status 'Verified' the integration is complete and ready to use!

Testing Mailgun in HRS Connect

Once the Mailgun has been succesfully setup, we suggest sending a test bulk email to a few email addresses to ensure the delivery of emails and that this is working as expected.


Should you come across any issues, please get in touch with support who will be happy to help further.


Appendix - Domain Instructions

Below is a list of most domain providers. Please click the relevant domain provider for instructions on adding a text record. If you have your own IT department or someone managing your domain we would suggest having them action this. Should you not find your domain provider below please inform support who can assist.


Go Daddy









Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.
Powered by Zendesk