1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Change smtp+tls default port to 587.

This commit is contained in:
dzan 2013-04-20 18:02:30 +02:00
parent 3d884a8f1c
commit 6c1b3cbc68

View File

@ -80,10 +80,10 @@ public class SmtpTransport extends Transport {
port = 25;
} else if (scheme.equals("smtp+tls")) {
connectionSecurity = ConnectionSecurity.STARTTLS_OPTIONAL;
port = 25;
port = 587;
} else if (scheme.equals("smtp+tls+")) {
connectionSecurity = ConnectionSecurity.STARTTLS_REQUIRED;
port = 25;
port = 587;
} else if (scheme.equals("smtp+ssl+")) {
connectionSecurity = ConnectionSecurity.SSL_TLS_REQUIRED;
port = 465;