Version: (using KDE 4.2.0) OS: Linux Installed from: Fedora RPMs Kmail ignores templates when forwarding a message, works with reply, reply all. This is my template for forwarded messages (in Configure kmail - Composer - Standard Templates): Forwarded message: ---------------------------------------------------- From: %OFROMADDR To: %OTOADDR CC: %OCCADDR Subject: %OFULLSUBJECT Date: %ODATE %QUOTE However for some emails when forwarding a message inline the text of the message is not quoted but appears 'as is'. Even if I remove the %QUOTE completely from the template, the message is still forwarded 'as is'. I can't see any consistent reason why it works for some emails and not others. It is the same for plaintext email and for html mail. My reply-to-sender template is: ---------------------------------------------------- From: %OFROMADDR To: %OTOADDR Subject: %OFULLSUBJECT Date: %ODATE %QUOTE and it works perfectly. Copying this template to the forward message template (and selecting ok) does not change the behaviour when forwarding. My kdepim is 6:4.2.0-2.fc10. I can provide an email that does work and one that doesn't privately. Thanks. M.
It is probably enough if you tell me the message structure of the message (with the message structure viewer below the message display). FYI, I fixed/rewrote parts of the forwarding logic, this bug might already be fixed in KDE 4.2.2. It actually has nothing to do with the template used, I think.
SVN commit 1001922 by jarmond: Reapply template on switching identity in composer. Respect custom templates when forwarding inline. BUG: 143199 BUG: 179754 BUG: 186843 M +18 -4 composer.h M +24 -17 kmcommands.cpp M +91 -9 kmcomposewin.cpp M +24 -2 kmcomposewin.h M +1 -1 kmkernel.cpp M +2 -2 kmmainwidget.cpp M +7 -0 templateparser.cpp M +2 -0 templateparser.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1001922