mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-25 00:58:50 -05:00
Change smtp+tls default port to 587.
This commit is contained in:
parent
3d884a8f1c
commit
6c1b3cbc68
@ -80,10 +80,10 @@ public class SmtpTransport extends Transport {
|
|||||||
port = 25;
|
port = 25;
|
||||||
} else if (scheme.equals("smtp+tls")) {
|
} else if (scheme.equals("smtp+tls")) {
|
||||||
connectionSecurity = ConnectionSecurity.STARTTLS_OPTIONAL;
|
connectionSecurity = ConnectionSecurity.STARTTLS_OPTIONAL;
|
||||||
port = 25;
|
port = 587;
|
||||||
} else if (scheme.equals("smtp+tls+")) {
|
} else if (scheme.equals("smtp+tls+")) {
|
||||||
connectionSecurity = ConnectionSecurity.STARTTLS_REQUIRED;
|
connectionSecurity = ConnectionSecurity.STARTTLS_REQUIRED;
|
||||||
port = 25;
|
port = 587;
|
||||||
} else if (scheme.equals("smtp+ssl+")) {
|
} else if (scheme.equals("smtp+ssl+")) {
|
||||||
connectionSecurity = ConnectionSecurity.SSL_TLS_REQUIRED;
|
connectionSecurity = ConnectionSecurity.SSL_TLS_REQUIRED;
|
||||||
port = 465;
|
port = 465;
|
||||||
|
Loading…
Reference in New Issue
Block a user