From acd756e642dbad58bea86eb5160e0d7f3f3124cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20W=C3=A4chter?= Date: Sat, 5 Jul 2014 18:59:48 +0200 Subject: [PATCH] Fixed https://github.com/typingArtist/k-9/issues/1. HELO/EHLO IPv6 address literals are now conforming to RFC5321. --- 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 2636a8710..70e270bbd 100644 --- a/src/com/fsck/k9/mail/transport/SmtpTransport.java +++ b/src/com/fsck/k9/mail/transport/SmtpTransport.java @@ -245,7 +245,7 @@ public class SmtpTransport extends Transport { // characters (see issue 2143), so use IP address. if (!ipAddr.equals("")) { if (localAddress instanceof Inet6Address) { - localHost = "[IPV6:" + ipAddr + "]"; + localHost = "[IPv6:" + ipAddr + "]"; } else { localHost = "[" + ipAddr + "]"; }