If you need to configure a domain to send emails from Athento services and you do not have an SMTP server, the configuration will be done as follows:
- Request to soporte@athento.com the inclusion of your domain in the Mailgun service.
- The Athento team will create the domain and request the configuration of the SFP and DKIM records in your DNS.
- When you have configured your DNS, contact support again to make the changes to your application.
- In the local_setttings.py file you will need to configure the EMAIL_SERVER, MAILGUN_API_KEY and MAILGUN_URL attributes, similar to the example shown below.
- Finally, it will be necessary to configure the sender mail in each “Notification Template”.
EMAIL_SERVER = 'MAILGUN'
MAILGUN_API_KEY = "key-sample"
MAILGUN_URL = "https://api.mailgun.net/v3/itau.co/messages"
The following image shows the records that must be verified in Mailgun in order to be able to send mail.
Comments
0 comments
Please sign in to leave a comment.