Forums

Seeing OS Error while using SMTP google server, using a free pythonanywhere site

Request Method: POST Request URL: *pythonanywhere.com/accounts/password-reset/ Django Version: 4.2.7 Exception Type: OSError Exception Value: <br /> [Errno 101] Network is unreachable Exception Location: /usr/local/lib/python3.11/socket.py, line 848, in create_connection

EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend EMAIL_HOST=smtp.gmail.com EMAIL_PORT=587 EMAIL_USE_TLS=True

Have a look at this help page.

I´m having same error I assume that is because GMAIL changed server.

¿Were you able to resolve the issue?

We'll have a look.