Mailgun is a direct message transfer system that can be used to send emails without access to a normal SMTP or SMTP relay based service. The configuration of Mailgun is very straightforward.
The only items needed for this configuration are:
Domain name, this will be used as the from domain in the smtp structure
The email, this is the from email field populated in the emails being sent
API-key, this is the api key to access the service.