[Fixed]-Django Mailer not finding server

1👍

Change EMAIL_HOST = 'smtp.gmail.com ' toEMAIL_HOST = 'smtp.gmail.com' and I bet your problem will disappear 🙂

EDIT #1
You are running into authentication issues as EMAIL_USE_TLS is True and Gmail only requires TLS connections for SMTP on port 587. Change to EMAIL_PORT = 587 and you should bypass the issue.

EDIT #2
The error you see can be fixed through your Gmail settings. See –
Django SMTPAuthenticationError

Leave a comment