[Kde-pim] References/In-Reply-To header broken in KMail

Tobias König tokoe at kde.org
Tue Oct 5 22:24:18 BST 2010


Hej,

the References and In-Reply-To headers are not included in reply mails with 
KMail 4.5 and trunk.

That's caused by two bugs:

1) The method MessageFactory::getRefStr() returns a string in the form
 	'Message-Id: <someid>'
   which is passed to KMime::Message::references()->fromUnicodeString()
	However the latter expects only the '<someid>' part for parsing
	Fix: do not include the part before ':' in the input of fromUnicodeString

2) The KMime::Message object, which is passed to ComposerViewBase::setMessage
   is not the one that will be written to the outbox for sending.
   The code that might be responsible for this behaviour is
     ComposerViewBase::slotEmailAddressResolved
   As far as I understand the code, the Composer object is filled with the 
   information from the m_msg object, however not all information (aka 
headers) are transfered -> headers are lost
   Could somebody with some deeper knowledge of this code have a look at it, 
please?

Ciao,
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20101005/b3f52291/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list