I have a server in django version free I am doing development tests and it turns out that when I want to send an email from for example /accounts/password_reset/
does not work, but if I use the django.core.auth.mail -> send_mail
function then it works ...
this is the code I have in settings
ADMINS = [('Jaime', '[email protected]')]
EMAIL_BACKEND = "sgbackend.SendGridBackend"
SENDGRID_API_KEY = 'APIKEY'
EMAIL_HOST = 'smtp.sendgrid.net'
EMAIL_HOST_USER = 'HEROKUAPPUSER'
EMAIL_HOST_PASSWORD = 'HEROKUAPPPASSWORD'
EMAIL_PORT = 587
EMAIL_USE_TLS = True
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER