Version: 1.9.7 (using KDE 3.5.7, Debian Package 4:3.5.7.dfsg.1-1 (lenny/sid)) Compiler: Target: i486-linux-gnu OS: Linux (i686) release 2.6.21-1-686 The date header of mails started from a template has the 'creation date of the template' in the date header of the mail instead of 'time when mail is send'
I can see this, too in 3.5.7
SVN commit 674569 by marten: Remove date and message-id from template message, so that new message will be assigned new up-to-date ones. CCBUG:146534 M +4 -0 kmcommands.cpp --- branches/KDE/3.5/kdepim/kmail/kmcommands.cpp #674568:674569 @@ -699,6 +699,10 @@ KMMessage *newMsg = new KMMessage( new DwMessage( *msg->asDwMessage() ) ); newMsg->setComplete( msg->isComplete() ); + // these fields need to be regenerated for the new message + newMsg->removeHeaderField("Date"); + newMsg->removeHeaderField("Message-ID"); + KMail::Composer *win = KMail::makeComposer(); newMsg->setTransferInProgress( false ); // From here on on, the composer owns the message. win->setMsg( newMsg, FALSE, TRUE );
SVN commit 674571 by marten: Forward port of 674569 from 3.5 branch: Remove date and message-id from template message, so that new message will be assigned new up-to-date ones. BUG:146534 M +4 -0 kmcommands.cpp --- trunk/KDE/kdepim/kmail/kmcommands.cpp #674570:674571 @@ -706,6 +706,10 @@ KMMessage *newMsg = new KMMessage( new DwMessage( *msg->asDwMessage() ) ); newMsg->setComplete( msg->isComplete() ); + // these fields need to be regenerated for the new message + newMsg->removeHeaderField("Date"); + newMsg->removeHeaderField("Message-ID"); + KMail::Composer *win = KMail::makeComposer(); newMsg->setTransferInProgress( false ); // From here on on, the composer owns the message. win->setMsg( newMsg, false, true );
*** Bug 146704 has been marked as a duplicate of this bug. ***
*** Bug 147452 has been marked as a duplicate of this bug. ***