I am building an application that will be acting as a combined MUA/MTA on different networks. However, many of the networks are with ISP’s that block port 25 for SMTP. Therefore I would also like to open up a secondary port so that some of the installs can communicate on that if port 25 is closed.
If you’re just sending email on behalf of an end-user, who originates the email within your application, use authenticated SMTP to port 587.
You can send mail to some servers via the SMTPS port 465, if the remote MTA is SSL/TLS-enabled and listening on that port, but don’t count on it.
Otherwise, advise the user that they need a business-class ISP.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.