Change SMTP default port to 587
This commit is contained in:
parent
6c1b3cbc68
commit
b91b86c657
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ public class SmtpTransport extends Transport {
|
|||
String scheme = smtpUri.getScheme();
|
||||
if (scheme.equals("smtp")) {
|
||||
connectionSecurity = ConnectionSecurity.NONE;
|
||||
port = 25;
|
||||
port = 587;
|
||||
} else if (scheme.equals("smtp+tls")) {
|
||||
connectionSecurity = ConnectionSecurity.STARTTLS_OPTIONAL;
|
||||
port = 587;
|
||||
|
|
Loading…
Reference in a new issue