From 6c1b3cbc68a6043f657418136eb7bda9f075647a Mon Sep 17 00:00:00 2001 From: dzan Date: Sat, 20 Apr 2013 18:02:30 +0200 Subject: [PATCH] Change smtp+tls default port to 587. --- src/com/fsck/k9/mail/transport/SmtpTransport.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/fsck/k9/mail/transport/SmtpTransport.java b/src/com/fsck/k9/mail/transport/SmtpTransport.java index b1dba211e..56c5f069c 100644 --- a/src/com/fsck/k9/mail/transport/SmtpTransport.java +++ b/src/com/fsck/k9/mail/transport/SmtpTransport.java @@ -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;