support center

Using Mailgun for bulk email

For context about why you might want to use Mailgun, see our Bulk Email FAQ.

Setup

  1. Signup for for a Mailgun account. If you send more than 10,000/month you'll need to be on a paid plan.
  2. Create a new domain within Mailgun. This will be your email domain. So if your email address if "bob@nike.com" the domain you want to add here would be "nike.com".
  3. Add "mailgun.org" to the list of email providers allowed to send messages on your domain's behalf.
    This step depends on who provides your DNS service. For many hosting providers like Hostgator or Dreamhost please follow these steps: http://www.mail-tester.com/spf/cpanel -- just remember the TXT Data field should read `v=spf1 include:mailgun.org ~all` It may also contain another include statement for your email server.
  4.  

  5. Find the SMTP account settings for your mailgun account
  6. Head over to Close.io's Settings -> Email Settings and then click "Edit SMTP" when you already have an email account set up.
  7. Enter the SMTP settings for your mailgun account from step #4.

Adding Unsubscribe Links

You can add "%unsubscribe_url%" to the bottom of any email templates you'd like to bulk message and Mailgun will rewrite the message to include an unsubscribe link and manage the process of not sending emails to people who have opted-out. More details here: https://documentation.mailgun.com/user_manual.html#tracking-unsubscribes