From f89f688862f1d28a3fe287032b0dba48e41f25de Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Mon, 26 Apr 1999 22:34:15 +0000 Subject: [PATCH] Turn return receipts off by default. This fixes bug #5011 --- mailnews/compose/src/nsSmtpProtocol.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mailnews/compose/src/nsSmtpProtocol.cpp b/mailnews/compose/src/nsSmtpProtocol.cpp index 3801d109f9c..cf02efbd3b3 100644 --- a/mailnews/compose/src/nsSmtpProtocol.cpp +++ b/mailnews/compose/src/nsSmtpProtocol.cpp @@ -707,7 +707,10 @@ PRInt32 nsSmtpProtocol::SendEhloResponse(nsIInputStream * inputStream, PRUint32 ptr = PL_strcasestr(m_responseText, "DSN"); if (ptr && nsCRT::ToUpper(*(ptr-1)) != 'X') + { SetFlag(SMTP_EHLO_DSN_ENABLED); + ClearFlag(SMTP_EHLO_DSN_ENABLED); + } else ClearFlag(SMTP_EHLO_DSN_ENABLED); @@ -827,7 +830,8 @@ PRInt32 nsSmtpProtocol::AuthLoginUsername() { base64Str = NET_Base64Encode(net_smtp_name, PL_strlen(net_smtp_name)); - } else if (m_authMethod == 2) + } + else if (m_authMethod == 2) { char plain_string[512]; int len = 1; /* first char */