Mailgun
Laudspeaker customers can use their Mailgun account to send email through Laudspeaker, as well as keep track of email sending metrics like open and click-through rates.
Before We Begin: Creating an account
Before we can send emails using Mailgun, we must create a Mailgun account. Go to Mailgun’s signup page and fill in the required information.
Registering Sending Domains and Adding Authorized Recipients
Sandbox Domain
Each new Mailgun account is automatically provisioned with a sandbox domain of the form sandbox<alphanumeric-identifier>@mailgun.org
. This domain allows you to perform all the core actions Mailgun offers without having to purchase or setup your own domain. All of Laudspeaker’s functionality remains accessible using a sandbox domain.
Once you are ready, you can verify a domain for sending emails in production using the Mailgun domain verification documentation.
Adding Authorized Recipients
If you are using a sandbox domain, you will have to create authorized recipients in Mailgun. These are verified emails that you can send to using the sandbox domain, and you can have up to five of them.
To add an authorized recipient, follow the instructions in this article.
Activating Webhooks
To receive opened, clicked, and unsubscribed events, you will need to activate Click Tracking, Open Tracking, and Unsubscribes in the Mailgun UI.
-
From the Mailgun Dashboard, navigate to
Domain Settings
in theSending
drop-down menu, and select the domain you will be sending from in the top right corner of the screen: -
Scroll down to the
Tracking
section of the domain settings page and turn onClick Tracking
,Open Tracking
, andUnsubscribes
:
Connecting Mailgun to Laudspeaker
Now that you are finished setting up your Mailgun account, it’s time to start sending emails!
-
Navigate to the Mailgun API keys page, and copy your Private API key:
-
Go to the settings menu in Laudspeaker, click on the
Email
tab, and then selectMailgun
and input your API key in theMailgun API Key
field: -
Select the domain that you would like to send emails from using the Domain dropdown, and input the sending name and sending email.
-
Save your settings. This will automatically create all the webhooks you need to receive tracking events.
-
Start sending!