Django MailGun Integration Django.How

Author avatar wrote on 01/06/2022

Go to www.mailgun.com

  • create a free account.
  • Add New Domain
  • Verify domain

Configuring Django to Send Emails

EMAIL_HOST = ‘smtp.eu.mailgun.org’
EMAIL_PORT = 587
EMAIL_HOST_USER = ‘YOUR_EMAIL_HOST_USER’
EMAIL_HOST_PASSWORD = ‘yourPassword’
DEFAULT_FROM_EMAIL = ‘yourEmail’
EMAIL_USE_TLS = True