1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-24 08:38:51 -05:00

Change SMTP default port to 587

This commit is contained in:
cketti 2013-04-26 02:29:36 +02:00
parent 6c1b3cbc68
commit b91b86c657

View File

@ -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;