Update of /cvsroot/mahogany/M/src/mail
In directory usw-pr-cvs1:/tmp/cvs-serv4632/src/mail
Modified Files:
MailFolder.cpp
Log Message:
explicit reply to sender command replies to From, not Reply-To, to make it possible to
do the right thing with the mailing lists mungling the Reply-To header
Index: MailFolder.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolder.cpp,v
retrieving revision 1.270
retrieving revision 1.271
diff -b -u -2 -r1.270 -r1.271
--- MailFolder.cpp 5 Feb 2002 20:00:54 -0000 1.270
+++ MailFolder.cpp 21 Feb 2002 17:05:39 -0000 1.271
@@ -765,6 +765,11 @@
if ( replyKind != MailFolder::REPLY_LIST )
{
- // otherwise reply to Reply-To address, if any, by default
- if ( !countReplyTo )
+ // reply to Reply-To address, if any, by default except if REPLY_SENDER
+ // had been explicitly chosen - in this case we want to allow using it to
+ // make it possible to reply to the sender of the message only even if
+ // the Reply-To address had been mangled by the mailing list to point to
+ // it instead
+ if ( (explicitReplyKind && replyKind == MailFolder::REPLY_SENDER) ||
+ !countReplyTo )
{
// try from address
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates