Skip to content Skip to sidebar Skip to footer

Django Throws This Error: Smtpexception: Starttls Extension Not Supported By Server

Due to limitation of outgoing mail in gmail, I installed exim4 on one of my server with the following settings: dc_eximconfig_configtype='internet' dc_other_hostnames='mydomain.com

Solution 1:

Thanks Reto, I installed the exim4 now on the second server and I tried your suggestion and then it was throwing error 'AUTHException:' . So finally I figured out that I had to comment out two more lines. So now my setting.py file looks like this:

EMAIL_HOST = 'localhost'#EMAIL_HOST_USER = 'username'  # username of one of my user on the first server#EMAIL_HOST_PASSWORD = 'password'EMAIL_PORT = 25#EMAIL_USE_TLS = True

and Now it's working!!! Thanks again Reto.

Post a Comment for "Django Throws This Error: Smtpexception: Starttls Extension Not Supported By Server"