Configure Email in Django
By Justin

Email configuration is simple. You just go into your DJANGO_SETTINGS_MODULE (aka settings.py) and add the following:
EMAIL_HOST = 'smtp.email-host-provider-domain.com'
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'your password'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = 'Your Name <[email protected]>'
Do you want to receive server errors to your inbox? Add this:
ADMINS = (
('You', '[email protected]'),
)
MANAGERS = ADMINS
Additional Resources
- Test sending email with Django's send_mail
- Use Gmail with Django
- Setup Sendgrid in Django