These ports 465 and 587 are both used for sending mail (submitting mail) but what is the real difference between them?
Join them; it only takes a minute:
|
SMTP protocol: smtps (port 465) v. msa (port 587)Ports 465 and 587 are intended for email client to email server communication (sending email). Port 465 is for smtps Port 587 is for msa Port 25 is used by MTA to MTA communication (mail server to mail server). It may be used for client to server communication but it is not currently the most recommended. Standard SMTP port accepts email from other mail servers to its "internal" mailboxes without authentication. |
|||||||||||||||||
|
|
These port assignments are specified by the Internet Assigned Numbers Authority (IANA):
Historically, port 465 was initially planned for the SMTPS encryption and authentication “wrapper” over SMTP, but it was quickly deprecated (within months, and over 15 years ago) in favor of STARTTLS over SMTP (RFC 3207). Despite that fact, there are probably many servers that support the deprecated protocol wrapper, primarily to support older clients that implemented SMTPS. Unless you need to support such older clients, SMTPS and its use on port 465 should remain nothing more than an historical footnote. The hopelessly confusing and imprecise term, SSL, has often been used to indicate the SMTPS wrapper and TLS to indicate the STARTTLS protocol extension. For completeness:
Sources:
|
|||||||||||||
|
|
I use port 465 all the time. The answer by danorton is not correct. As he says, port 465 was initially planned for the SMTPS encryption and quickly deprecated 15 years ago. But a lot of ISPs are, despite this, still using port 465. Using port 465 may very well be the best way for the reader, depending on the circumstances, to contact an smtp-server. See: https://en.wikipedia.org/wiki/SMTPS HJJ |
|||||
|