Fix email errors / Sending errors
Can’t send from a mail app? Port 25 may be blocked
Many networks block outgoing connections on port 25 to stop spam from infected computers. Port 25 is for servers relaying to each other; mail apps should send on port 587 with STARTTLS or 465 with SSL/TLS, with sign-in (RFC 6409, RFC 8314).
Signs of a blocked port
- Sending times out or says it "cannot connect to the server".
- Receiving works, only sending fails.
- It works on another network (a phone hotspot) but not at home or in the office.
Fix it
Change the outgoing server's port in your mail app to 587 (STARTTLS) or 465 (SSL/TLS), and turn on authentication. Every major provider supports both. If you run your own server and must relay on port 25, ask your internet or cloud provider to unblock it; many cloud providers block it by default for new accounts.