Forums

Help

Hello,

I am using a paid Developer account and a Django web application.

My contact form sends email using SMTP, but the connection always times out.

From a PythonAnywhere Bash console I tested TCP connections to:

smtp.pythonanywhere.com

on ports 25, 465, and 587, and all of them return "connection timed out".

Example test:

import socket socket.create_connection(("smtp.pythonanywhere.com", 587), timeout=10)

This also times out.

Could you please confirm whether outbound SMTP connections are blocked on my account or cluster, or if there is a different SMTP host/port that should be used for sending email from a PythonAnywhere web app?

Thank you.

We do not provide email services. You cannot connect to smtp.pythonanywhere.com