Näktergal Docs
Advanced search

Mailgun

Used to send email from various modules.

Additional documentation regarding Mailgun can be found on the Mailgun website.

Technical requirements

Configured by adding a text file emailsettings.txt in static resources.

Example content:

provider = Mailgun
mailgun.apikey = <the clients api key>
mailgun.domain = mail1.example.org
#testemail = testemail@example.org

 

Test module considerations

In test mode the mail provider behaves differently and sends all email regardless of the actual recipient to a static email defined in the settings file (testemail in the example above).

This is to allow testing with realistic data without the risk of sending out emails from test to real customers.

The easiest way to use this feature is to setup the testemail as a shared inbox or email group that all testers share.

All emails send in this way will have a greyed out footer with the actual intended email address.