email – What is the difference between ports 465 and 587? – Stack Overflow

Ports 465 and 587 are intended for email client to email server communication (sending email).

Port 465 is for smtps – SSL encryption is started automatically before any SMTP level communication.

Port 587 is for msa – it is almost like standard SMTP port. SSL encryption may be started by STARTTLS command at SMTP level if server supports it and your ISP does not modify/filter server’s EHLO reply (reported 2014 Nov).

MSA should accept email after authentication (e.g. after SMTP AUTH). It helps to stop outgoing spam when netmasters of DUL ranges can block outgoing connections to SMTP port.

via email – What is the difference between ports 465 and 587? – Stack Overflow.