python - "[Errno 101] Network is unreachable" when trying to send email using Django -
python - "[Errno 101] Network is unreachable" when trying to send email using Django -
for reason getting error when trying send email (with gmail) using django.
[errno 101] network unreachable
the weird part seems happen when web app running on server (bluehost). works fine when locally.
here email settings
email_use_tls = true email_host = 'smtp.gmail.com' email_host_user = 'email@gmail.com' email_host_password = 'fakepassword' email_port = 587
any thought how can prepare this?
this have port trying send email on bluish host machine.
they block ports security reasons.
more info: https://my.bluehost.com/cgi/help/500
python django email gmail
Comments
Post a Comment