Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   How do i find out if the outlook mail is digitally signed (http://www.outlookbanter.com/outlook-vba/11095-how-do-i-find-out.html)

Gautam April 10th 06 03:05 PM

How do i find out if the outlook mail is digitally signed
 
Hi,

I am creating an outlook plugin using VC++.


I basically want to know whether the mail item that i have is digitally

signed or not


I am unable to do this using the MessageClass property of the mailitem
object, since the value returned for both signed and unsigned mails is
"IPM.Note"


I had read somewhere that we can not find whether the mail is digitally

signed or not by looking at the messageclass of the mailitem object.


Can anyone please guide me to some way of differentiating between
signed and unsigned mails?


thanks,
Gautam


Dmitry Streblechenko April 10th 06 06:33 PM

How do i find out if the outlook mail is digitally signed
 
Outlook goes out of its way to present encrypted/signed messages as regular
MailItem objects. Even if you read its MAPIOBJECT property, it will return a
fake IMessage MAPI object rather than a native IMessage from teh store
provider.
The only workaround that I am aware of is to reopen the message using
MAPI/CDO 1.21/Redemption bypassing the Outlook Object Model and then look
at the message class.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Gautam" wrote in message
oups.com...
Hi,

I am creating an outlook plugin using VC++.


I basically want to know whether the mail item that i have is digitally

signed or not


I am unable to do this using the MessageClass property of the mailitem
object, since the value returned for both signed and unsigned mails is
"IPM.Note"


I had read somewhere that we can not find whether the mail is digitally

signed or not by looking at the messageclass of the mailitem object.


Can anyone please guide me to some way of differentiating between
signed and unsigned mails?


thanks,
Gautam





All times are GMT +1. The time now is 08:28 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com