[Kde-pim] [Bug 140549] templates for forwarding do not work with inline mails

Jonathan Marten jjm at keelhaul.demon.co.uk
Thu Jul 5 17:19:11 BST 2007


Copied from bug report (which I thought automatically went to this
list, but apparently not...):

I've checked the suggested fix and it appears to work for both plain
and multipart mails.
 
The template code and parser appears to be working properly, which
creates the properly formatted forward message and does a
 
   mMsg->setBodyFromUnicode( body ); 
 
at the end of TemplateParser::processWithTemplate().  I suspect that,
in the case of a multipart message, this does not set the same message
part that the composer will eventually use.  Haven't investigated this
further - the trail leads on into the depths of mimelib, past the
"Here be dragons" signs :-)  I believe, though, that mimelib is being
replaced for KDE4 which may make the problem moot.
 
The one-line fix will solve the problem for the one more intended
KDE3.5 release.  I suggest it should go in - any objections?
 
BTW, the problem also happens in trunk - the same 1-line patch fixes
it.

Regards, Jonathan

-- 
Jonathan Marten                         http://www.keelhaul.demon.co.uk
Twickenham, UK                          jjm at keelhaul.demon.co.uk
_______________________________________________
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