From b91b86c657e7de25be26e2b62741668ad82e4fb6 Mon Sep 17 00:00:00 2001 From: cketti Date: Fri, 26 Apr 2013 02:29:36 +0200 Subject: [PATCH] Change SMTP default port to 587 --- src/com/fsck/k9/mail/transport/SmtpTransport.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/fsck/k9/mail/transport/SmtpTransport.java b/src/com/fsck/k9/mail/transport/SmtpTransport.java index 56c5f069c..2d89b9734 100644 --- a/src/com/fsck/k9/mail/transport/SmtpTransport.java +++ b/src/com/fsck/k9/mail/transport/SmtpTransport.java @@ -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;