[Bug 140549] templates for forwarding does not work with emails from mailinglists

Allen Winter winter at kde.org
Tue Feb 6 17:19:23 GMT 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=140549         




------- Additional Comments From winter kde org  2007-02-06 18:19 -------
SVN commit 630887 by winterz:

Ingo says to revert this.
So we are still looking for a fix to this bug.

CCMAIL: dmiceman ubiz ru, kloecker kde org
CCBUG: 140549


 M  +3 -9      kmmessage.cpp  


--- branches/KDE/3.5/kdepim/kmail/kmmessage.cpp #630886:630887
 @ -1217,20 +1217,14  @
 
     msg->initFromMessage( this );
     //restore type
-    // msg->setType( type );
-    // msg->setSubtype( subtype );
-
-    // set plain text content type for forwarded message
-    // of you change this, please test how templates work on forward
-    msg->setType( DwMime::kTypeText );
-    msg->setSubtype( DwMime::kSubtypePlain );
+    msg->setType( type );
+    msg->setSubtype( subtype );
   } else if( type() == DwMime::kTypeText && subtype() == DwMime::kSubtypeHtml ) {
     // This is non-multipart html mail. Let`s make it text/plain and allow
     // template parser do the hard job.
     msg->initFromMessage( this );
     msg->setType( DwMime::kTypeText );
-    // msg->setSubtype( DwMime::kSubtypeHtml );
-    msg->setSubtype( DwMime::kSubtypePlain );
+    msg->setSubtype( DwMime::kSubtypeHtml );
     msg->mNeedsAssembly = true;
     msg->cleanupHeader();
   } else {



More information about the Kdepim-bugs mailing list