Quantcast
Channel: Outlook Program Addins
Viewing all articles
Browse latest Browse all 106

How to save encrypted mail to disk (MSG) unencrypted

$
0
0
Hi

as in topic, i'm looking for a programmatic way to save encrypted
email from inbox as unencrypted MSG file on disk. I want to do it from
outlook add-in. Outlook Spy does it, so somehow it is possible. Of
course saving by means on MailItem::SaveAs saves encrypted mail and so
does code below:


void SaveToMSG ( MailItem _item)

{

stringfilePath ="C:\\Users\\user\\Desktop\\"+ _item.Subject + ".msg";

IntPtriSecMsg =IntPtr.Zero;

IntPtriMsg;

IntPtriProp;

IntPtrptrGuid;

variUnknown...

How to save encrypted mail to disk (MSG) unencrypted

Viewing all articles
Browse latest Browse all 106

Trending Articles