6.0.0-beta1
7/5/25

[#7757] replying to S/MIME encrypted messages -> No message Text
Summary replying to S/MIME encrypted messages -> No message Text
Queue IMP
Queue Version 4.3
Type Enhancement
State Resolved
Priority 1. Low
Owners
Requester harakiri_23 (at) yahoo (dot) com
Created 12/05/2008 (6056 days ago)
Due
Updated 12/05/2008 (6056 days ago)
Assigned
Resolved 12/05/2008 (6056 days ago)
Milestone
Patch No

History
12/05/2008 05:05:34 PM Michael Slusarz Comment #2
State ⇒ Resolved
Reply to this comment
Ive read the other pgp ticket, and it is said
that in imp 5 for pgp is fixed - i just want to make sure this also
applies to smime?
Yes.


12/05/2008 10:59:57 AM harakiri_23 (at) yahoo (dot) com Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ replying to S/MIME encrypted messages -> No message Text
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
Reply to this comment
When replying to smime encrypted messages, the quoting does not work.



I fixed this issue in the imp compose.php  function 
replyMessage($actionID, &$imp_contents, $to = null)



you just need to  decrypt the message with

  $_impSmime = &new IMP_SMIME();

  $decrypted_data = $_impSmime->decryptMessage($body);



and merge the headers. Ive read the other pgp ticket, and it is said 
that in imp 5 for pgp is fixed - i just want to make sure this also 
applies to smime?



Thanks

Saved Queries