{"Status":true,"Message":"","Response":{"post":{"postuid":"7hin3gw78p","tenantuid":"d8b744fc-2e70-4089-bb80-dd1d08f6c7b2","projectuid":"239698c5-f7eb-4574-8cc8-c6568f08b3a0","title":"Mailgun Integration","slug":"article/7hin3gw78p-mailgun-and-dailystory-integration","html":"\u003Cp\u003EThe DailyStory Mailgun integration enables you to use the power of DailyStory\u0027s marketing and automation tools with a powerful transactional email platform:\u0026nbsp;\u003Ca href=\u0022https://www.mailgun.com/\u0022 target=\u0022_blank\u0022\u003EMailgun\u003C/a\u003E.\u003C/p\u003E\u003Cp\u003EDailyStory sends email for you, but with Mailgun integration you can further control how email is sent and ensure that it is authorized to your domain - all to help deliver your email to your customers.\u003C/p\u003E\u003Ccite class=\u0022recommended\u0022\u003E\u003Cspan class=\u0022title\u0022\u003ERecommended\u003C/span\u003E\u003Cp\u003EDailyStory takes care of communicating with Mailgun to track delivery and bounces. Open and click tracking is managed by DailyStory.\u003C/p\u003E\u003C/cite\u003E\u003Cp\u003EYou can bring your own Mailgun account or you can utilize the built-in integration provided by DailyStory.\u003C/p\u003E\u003Ch3 id=\u0022setup_your_own_mailgun_integration\u0022\u003ESetup your own Mailgun Integration\u003C/h3\u003E\u003Cp\u003EThere are several steps required to configure DailyStory and Mailgun integration. These steps are detailed below.\u003C/p\u003E\u003Col\u003E\u003Cli\u003ECreate a Mailgun Account\u003C/li\u003E\u003C/ol\u003E\u003Cp\u003EVisit\u0026nbsp;\u003Ca href=\u0022https://www.mailgun.com/\u0022 target=\u0022_blank\u0022\u003EMailgun\u003C/a\u003E\u0026nbsp;and create an account. There are a few technical steps (see Setting up your Mailgun DNS below) that will require someone from your IT team to help with.\u003C/p\u003E\u003Ccite class=\u0022recommended\u0022\u003E\u003Cspan class=\u0022title\u0022\u003ERecommended\u003C/span\u003E\u003Cp\u003EIf you don\u0027t have an IT person or team, we can help.\u003C/p\u003E\u003C/cite\u003E\u003Col start=\u00222\u0022\u003E\u003Cli\u003EMailgun API Keys\u003C/li\u003E\u003C/ol\u003E\u003Cp\u003EAfter creating your account and setting everything up, you are ready to connect Mailgun to DailyStory.\u003C/p\u003E\u003Cp\u003ELogin to Mailgun and visit your Account \u0026gt; Security page. Copy your Private API Key. You do not need the Public Validation Key.\u003C/p\u003E\u003Cimg class=\u0022lazy-load\u0022 data-width=\u0022762\u0022 data-height=\u0022462\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/e4f32caaed33a5bcd5ae3f8792ee3548.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Cp\u003ENext, configure DailyStory to use the API keys for your Mailgun account.\u003C/p\u003E\u003Col start=\u00223\u0022\u003E\u003Cli\u003EConfigure DailyStory\u003C/li\u003E\u003C/ol\u003E\u003Cp\u003ELog into your DailyStory account and navigate to Admin \u0026gt; Integrations and select the Mailgun integration:\u003C/p\u003E\u003Cimg class=\u0022lazy-load\u0022 data-width=\u0022662\u0022 data-height=\u0022337\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/79c41b7dcf892c23ffe0d1dcd0eefc5c.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Cp\u003EEnter the domain you configured as part of your Mailgun setup, such as\u0026nbsp;\u003Ccode\u003Emg.example.com\u003C/code\u003E.\u003C/p\u003E\u003Ccite class=\u0022recommended\u0022\u003E\u003Cspan class=\u0022title\u0022\u003ERecommended\u003C/span\u003E\u003Cp\u003ESee Frequently Asked Questions if you want to support more than 1 sending domain.\u003C/p\u003E\u003C/cite\u003E\u003Cp\u003ENext, enter the API Key and click Save.\u003C/p\u003E\u003Cp\u003EDailyStory will attempt to send a test email to\u0026nbsp;\u003Ca href=\u0022/article/z8le8bw866-personal-settings\u0022\u003Eyour email address\u003C/a\u003E\u0026nbsp;to verify the integration is properly setup.\u003C/p\u003E\u003Ch3 id=\u0022setting_up_your_mailgun_dns_entries\u0022\u003ESetting up your Mailgun DNS entries\u003C/h3\u003E\u003Cp\u003EPart of setting up your own Mailgun account requires you to \u003Cb\u003EADD\u003C/b\u003E several \u003Cb\u003Enew\u003C/b\u003E entries to your DNS record. This is done so that when email is sent on your behalf email recipients can validate that the email comes from you.\u003C/p\u003E\u003Cp\u003EThese records include \u003Ca href=\u0022/article/u8890mowsx-configuring-spf-dkim-and-dmarc\u0022\u003ESPF and DKIM records\u003C/a\u003E that allow for email servers to validate the sending domain and the from address. You may also need to optionally configure DMARC if it is in use already.\u003C/p\u003E\u003Ccite class=\u0022recommended\u0022\u003E\u003Cspan class=\u0022title\u0022\u003ERecommended\u003C/span\u003E\u003Cp\u003EPlease contact us if you would like us to set this up for you. We would be happy to do so.\u003C/p\u003E\u003C/cite\u003E\u003Cp\u003EIf we have setup your Mailgun account you will receive a file from us called \u0022Mailgun setup - [Account Name].xlsx\u0022. The content of which look like this:\u003C/p\u003E\u003Cimg class=\u0022lazy-load\u0022 data-width=\u0022940\u0022 data-height=\u0022384\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/6cc3c8ef886a68dfb2f641882008e23c.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Cp\u003EYou will need to add these records to your DNS record for your domain. Typically this is where you purchased your domain, such as GoDaddy. For example, here are how several records look in a customer DNS for GoDaddy:\u003C/p\u003E\u003Cimg class=\u0022lazy-load\u0022 data-width=\u00221022\u0022 data-height=\u0022179\u0022 data-src=\u0022https://graffiti-auf7e6dwhxhcbwek.z03.azurefd.net/d8b744fc-2e70-4089-bb80-dd1d08f6c7b2/239698c5-f7eb-4574-8cc8-c6568f08b3a0/dfd65030e55d6de7e935a318615153b4.png\u0022 style=\u0022\u0022 alt=\u0022\u0022/\u003E\u003Ccite class=\u0022warning\u0022\u003E\u003Cspan class=\u0022title\u0022\u003EWarning\u003C/span\u003E\u003Cp\u003EImportant when you enter a record only use the Hostname portion, e.g. mg or pic.domainkey.mg. And your Hostname values may differ from these screenshots.\u003C/p\u003E\u003C/cite\u003E\u003Cp\u003EOne you add the TXT and MX files you can log out of your account. We will get a notification at DailyStory that your Mailgun integration has been setup and we finalize the integration.\u003C/p\u003E\u003Ch3 id=\u0022frequently_asked_questions\u0022\u003EFrequently Asked Questions\u003C/h3\u003E\u003Cp\u003EBelow are some frequently asked questions for Mailgun setup\u003C/p\u003E\u003Ch4 id=\u0022can_i_send_from_multiple_domains\u0022\u003ECan I send from multiple domains?\u003C/h4\u003E\u003Cp\u003EYes, if you are sending from multiple domains, enter each of those domains separated by a semi-colon when entering the Domains in DailiyStory (Step 3 above).\u003C/p\u003E\u003Cp\u003EFor example, if the following domains were setup with Mailgun you would enter: \u003Ccode\u003Emg.example1.com;emails.test.org;mg.test.com\u003C/code\u003E. When DailyStory sends your email it will match the sending domain with the correct Domain in Mailgun, e.g. if the email came from \u003Ccode\u003Ehello@emails.test.org\u003C/code\u003E the Mailgun domain used would be \u003Ccode\u003Eemails.test.org\u003C/code\u003E.\u003C/p\u003E\u003Ccite class=\u0022recommended\u0022\u003E\u003Cspan class=\u0022title\u0022\u003ERecommended\u003C/span\u003E\u003Cp\u003EThe matching of from address to sending domains only looks at the root domain, i.e. a from address of \u003Ccode\u003Ehello@test.org\u003C/code\u003E would match to the sending domain \u003Ccode\u003Eemails.test.org\u003C/code\u003E.\u003C/p\u003E\u003C/cite\u003E\u003Ch4 id=\u0022do_i_have_to_setup_mailgun_integration_to_send_email\u0022\u003EDo I have to setup Mailgun integration to send email?\u003C/h4\u003E\u003Cp\u003ENo, you can send email without configuring Mailgun. However, emails will be send on your behalf and may get flagged as SPAM.\u003C/p\u003E\u003Ch4 id=\u0022do_you_support_sendgrid_mandrill_or_other_transactional_email_platforms\u0022\u003EDo you support SendGrid, Mandrill or other transactional email platforms?\u003C/h4\u003E\u003Cp\u003ENo, currently we only support Mailgun. We plan to offer support for SendGrid in the future.\u003C/p\u003E\u003Ch3 id=\u0022troubleshooting\u0022\u003ETroubleshooting\u003C/h3\u003E\u003Cp\u003EIf you received an error when saving your Mailgun credentials it means that something is misconfigured with Mailgun, your domain or API Key, or there is a problem with your email address.\u003C/p\u003E\u003Cp\u003EFirst, we recommend double-checking the domain and API Key to ensure that the values are the same as the values configured in Mailgun. This is the most common problem.\u003C/p\u003E\u003Cp\u003ENext, double-check that the email used by DailyStory is a valid and working email address. The email address can be found in\u0026nbsp;\u003Ca href=\u0022/article/z8le8bw866-personal-settings\u0022\u003EAdmin \u0026gt; Personal Settings\u003C/a\u003E.\u003C/p\u003E","publish_status":0,"post_type":"Article","authoruid":"3dde8c16-763a-4a2b-ae0b-1d8c50c62e3d","author":{"authoruid":"3dde8c16-763a-4a2b-ae0b-1d8c50c62e3d"},"featured_image_updating":false,"meta_description":"The DailyStory Mailgun integration enables you to use the power of DailyStory\u0026#39;s marketing and automation tools with a powerful transactional email platform:\u0026#160; Mailgun . DailyStory sends email for you, but with Mailgun integration you can further control how email is sent and ensure that it is authorized to your domain - all to help deliver your email to your customers. DailyStory takes care of communicating with Mailgun to track delivery and bounces. Open and click tracking is manage ...","display_toc":true,"has_workingcopy":false,"allow_indexing":true,"total_views":1111,"date_published":"2023-08-14T16:53:24","date_updated":"2026-03-14T22:17:50.41","date_created":"2025-04-24T15:03:07.227"}}}