Skip to content
ferkesh.HOSTING

SMTP Ports 25, 465 and 587: Which Should You Use?

Diagram linking Mail client, 587 or 465, Submission server and Relay to recipient.

For an email client, use the outgoing server hostname, port and encryption your provider gives you. Port 587 uses STARTTLS for submission when supported, and 465 starts TLS immediately. Port 25 is normally for mail transfer between servers.

SMTP port quick reference
PortTypical useEncryption setting
25Server-to-server SMTP relayServer policy applies. Most mail clients should use their provider’s submission endpoint.
465Authenticated mail submissionChoose SSL/TLS or implicit TLS. TLS starts as soon as the connection opens.
587Authenticated mail submissionChoose STARTTLS and require encryption before authentication.

Understand the encryption setting

With implicit TLS the app starts the connection encrypted. With STARTTLS the SMTP session upgrades to TLS before credentials or content are sent, when the client is configured to require it. A client set to implicit TLS on an endpoint expecting STARTTLS may fail immediately. Do not bypass certificate checks or fall back to unencrypted authentication when that happens.

Verify the outgoing account separately

Open the client’s outgoing server settings. Check the complete hostname, port, TLS mode, authentication method and username. Some services use an app password or OAuth rather than an ordinary account password. Use the provider’s documented method. Send one message to an external test account you control and check whether the failure occurs before authentication or after the server accepts the message.

If receiving works and sending fails, do not rewrite the incoming settings. Save the exact SMTP error and time and compare them with the provider’s status or submission log. A connection failure, invalid certificate and mailbox authentication denial are distinct problems.

If the server explicitly rejects the login, follow the SMTP 535 troubleshooting guide before changing ports.

If you are choosing a home for the site that sends those messages, compare Ferkesh shared hosting plans while ordering is closed.

Official references

Ferkesh Hosting. Last reviewed .

Ήταν χρήσιμο;

Ευχαριστίες για τα σχόλιά σας!

Χρειάζεστε ακόμη βοήθεια;

Η ομάδα υποστήριξης είναι διαθέσιμη όλο το εικοσιτετράωρο για οτιδήποτε δεν βρίσκετε στη βάση γνώσεων.