Explore Bato Web Agency Webflow Certified Partner Profile Explore Bato Web Agency Webflow Certified Partner Profile

Should you use SMTP port 465 or 587?

Illustration without a description Illustration without a description

Use the port listed by the mail provider. Port 587 is the common submission port with STARTTLS: the client connects first and then upgrades the session to encryption. Port 465 normally uses implicit TLS, so the encrypted session begins as soon as the connection opens. Both can be secure when configured correctly.

 

Do not select a port independently from the encryption setting. A 587 connection configured as implicit SSL, or a 465 connection configured for STARTTLS, often fails before authentication. Copy the provider combination exactly, including the SMTP hostname, and keep certificate verification enabled.

 

If the documented setting times out, ask the web host whether outbound traffic on that port is blocked. Test the alternate port only when the mail provider officially supports it. A connection test proves reachability; send a real message afterward and inspect the provider log to confirm authentication, acceptance, and delivery processing.