I have a paid account on PythonAnywhere running single Django web app.
Everything is working well except that I can't send email from the webapp via smtp.zoho.com The configuration works well on localhost and also on other web apps running on another host but can't figure out why same configuration isn't working on Pythonanywhere.
Sample configuration below:
DEFAULT_FROM_EMAIL = os.environ.get('DEFAULT_FROM_EMAIL')
EMAIL_HOST = os.environ.get('EMAIL_HOST') # "smtppro.zoho.com" for org account
EMAIL_PORT = os.environ.get('EMAIL_PORT') # 587 for TLS
EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER')
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD')
EMAIL_USE_TLS = False
EMAIL_USE_SSL = True