Update of /cvsroot/mahogany/M/src/mail
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30471/src/mail
Modified Files:
MailFolder.cpp
Log Message:
set From, not Reply-To, in replies when the corresponding option is active, otherwise
it doesn't make much sense
Index: MailFolder.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MailFolder.cpp,v
retrieving revision 1.307
retrieving revision 1.308
diff -b -u -2 -r1.307 -r1.308
--- MailFolder.cpp 17 Mar 2004 10:01:01 -0000 1.307
+++ MailFolder.cpp 5 Jul 2004 20:32:42 -0000 1.308
@@ -1046,11 +1046,11 @@
}
- // if configured, set Reply-To to the same address the message we're
+ // if configured, set "From" value to the same address the message we're
// replying to was sent
if ( READ_CONFIG(profile, MP_SET_REPLY_FROM_TO) )
{
- String rt;
- msg->GetHeaderLine(_T("To"), rt);
- cv->AddHeaderEntry(_T("Reply-To"), rt);
+ String to;
+ msg->GetHeaderLine(_T("To"), to);
+ cv->SetFrom(to);
}
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates