This is the documentation of the legacy Mailgun (legacy) app. Here is the documentation of the new Mailgun app.
Getting started with Mailgun¶
To use any Mailgun modules, you need to connect your Mailgun account to Ibexa Connect. If you do not have a Mailgun account yet, you can create one at Mailgun.com account.
Connecting the Mailgun service to Ibexa Connect¶
To connect your Mailgun account to Ibexa Connect, follow the general instructions for Connecting to services. While creating the connection, you will be prompted to enter your Mailgun API key. To find the key:
Open your Mailgun dashboard
Click on the Domains menu item:
Click on your domain:
Scroll to "Domain Information" section (at the top of the page) and copy the API Key:
How to set up webhooks¶
If you want to use webhooks in your scenarios, you need to set a URL for each type of webhook in the Webhooks section of the Mailgun control panel.For more information, please read the Webhooks section.
Sending emails from sandbox¶
If you use sandbox (if you haven't set up any domain) and want to send emails, you need to verify recipients' email addresses in your Mailgun account's settings first.For more information, please read the Mailgun documentation.
Sender email address¶
If you send emails from a verified domain, the email address of the sender must include this domain. If you use, for example, a domain @example.com, you can set up firstname.lastname@example.org ( but not email@example.com) as the sender email address.