You may also consider using SendGrid SMTP for sending emails, this is easier to configure.
In order to set up a Mailgun account you need to access the DNS management of the domain you use for the Loyalty Platform installation. Contact your domain registrar for questions and support regarding DNS management. They usually offer a control panel where you can manage the DNS of your domains.
Sign up and log in
Sign up for a Mailgun account, and log in.
Add new domain
Go to Sending > Domains and click the "Add New Domain" button.
Follow the instructions. You can leave the default value for all settings, use a subdomain like
mg.example.com. Preferably use the same top level domain as where you install the Loyalty Platform.
When you're done, go to Sending > Domains > [select domain] > Domain Settings. Click the "SMTP credentials" tab, and write down the login (e.g. [email protected]) and password. Click "Reset Password" to get a new password.
Or, create a new SMTP user.
Private API key
Go to Settings > API Security and view the "Private API key".
Save the above credentials for later use and proceed with the next step.