1

I am using djangos's send_email function for sending emails to users. Below are my settings.

from django.core.mail import send_mail

EMAIL_HOST_USER = 'mymail@gmail.com'
EMAIL_HOST_PASSWORD='password+' 
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587

This is working fine on local this error env but not on heroku. It is showing: SMTPAuthenticationError

0 Answers0