[#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 (211 days ago)
Due
Updated 12/05/2008 (211 days ago)
Assigned
Resolved 12/05/2008 (211 days ago)
Attachments
Milestone
Patch No

History
12/05/2008 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 harakiri_23 (at) yahoo (dot) com Comment #1
Patch ⇒
Milestone ⇒
Summary ⇒ replying to S/MIME encrypted messages -> No message Text
Type ⇒ Enhancement
Priority ⇒ 1. Low
State ⇒ New
Queue ⇒ IMP
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