Simple Java Mail should use default server ports when not provided by the user
bbottema opened this issue · 3 comments
bbottema commented
Currently the port must come from a properties file (or Spring) or from the builder API (Java or CLI).
However, for the various transport strategies, default ports are known which should be used if not provided.
bbottema commented
Implemented default ports for SOCKS proxy (1080) and SMTP server (SMTP: 25, SMTPS: 465 and SMTP_TLS: 587)
bbottema commented
Released in 6.0.0-rc1.
bbottema commented
6.0.0 has released as well, finally.