Update of /cvsroot/mahogany/M/src/mail
In directory usw-pr-cvs1:/tmp/cvs-serv4024/src/mail

Modified Files:
        SendMessageCC.cpp 
Log Message:
added resend message command

Index: SendMessageCC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/SendMessageCC.cpp,v
retrieving revision 1.194
retrieving revision 1.195
diff -b -u -2 -r1.194 -r1.195
--- SendMessageCC.cpp   4 Jul 2002 17:22:38 -0000       1.194
+++ SendMessageCC.cpp   15 Aug 2002 00:52:18 -0000      1.195
@@ -941,5 +941,6 @@
              name == "CONTENT-TYPE" ||
              name == "CONTENT-DISPOSITION" ||
-             name == "CONTENT-TRANSFER-ENCODING" )
+             name == "CONTENT-TRANSFER-ENCODING" ||
+             name == "MESSAGE-ID" )
    {
       ERRORMESSAGE((_("The value of the header '%s' cannot be modified."),
@@ -1039,7 +1040,13 @@
 
    // Date:
+   //
+   // NB: we do allow the user to override the date header because this is
+   //     useful when editing a previously postponed message
+   if ( !HasHeaderEntry("Date") )
+   {
    char tmpbuf[MAILTMPLEN];
    rfc822_date (tmpbuf);
    m_Envelope->date = cpystr(tmpbuf);
+   }
 
    // Message-Id:



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to