View Single Post
  #2  
Old March 19th 07, 11:17 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Verify if the email has a certificate attached

Look at the MessageClass of the email. A signed email would have something
like "IPM.Note.SMIME.MultipartSigned", or some variant of "IPM.Note.Secure".
Look for MessageClass's like that.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"PShah" wrote in message
oups.com...
Guys

I am developing a app using C#, VSTO and Office 2003. I have a
requirement where I need to verify if the email is encrypted or not -
meaning it has a certificate attached or not. I dont even need to know
the details of the cert or the validity - just if an email is
encrypted or not.

Is there a way to get to achieve this through the Outlook Object Model
or is there any other API i need to know of


Ads