Can't send email from a mail app? Port 25 may be blocked
Many networks block outgoing connections on port 25 to stop spam from infected computers, so a mail app set to send on port 25 may not be able to reach its outgoing server. Port 25 is mainly for relay between mail servers; the ports for sending from a mail app are 587 with STARTTLS and 465 with SSL/TLS, with sign-in (RFC 6409, RFC 8314).
Updated
Causes and fixes
- 1
Your internet provider or the network you're on blocks port 25. RFC 6409 says "many sites now prohibit outbound traffic" on port 25, and Comcast, for example, doesn't support port 25 for email from its residential customers.
Change the outgoing (SMTP) port to 587 with STARTTLS or 465 with SSL/TLS. For example, Google lists smtp.gmail.com on 465 (SSL) or 587 (TLS), and Microsoft lists smtp-mail.outlook.com on 587 with STARTTLS for Outlook.com.
- 2
The outgoing server is set to the recipient's mail server instead of your own provider's. Gmail rejects direct sends from unauthorized IPs with 550 5.7.1: "Use the SMTP relay at your service provider instead."
Set the outgoing server to your email provider's SMTP server and sign in with your account.
- 3
You switched to port 587 or 465 but left sign-in or encryption off, so the server refuses to send (for example with 530 5.7.0).
Turn on authentication with your full email address and password or app password, and set STARTTLS for 587 or SSL/TLS for 465.
From RFC 6409: Message Submission for Mail (sections 1 and 3.1), RFC 8314: Use of TLS for Email Submission and Access, Xfinity: Why is port 25 for email submission not supported?, Google Workspace Help: Send email from a printer, scanner, or app, Microsoft Support: POP, IMAP, and SMTP settings for Outlook.com, Google Workspace Help: Gmail SMTP errors and codes. Check there if something has changed.
Related
Adding the account to Bloop.email?
The step-by-step guides cover app passwords and server settings for each provider.
See account setup