A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 10th 06, 02:05 PM posted to microsoft.public.outlook.program_vba
Gautam
external usenet poster
 
Posts: 2
Default 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

Ads
  #2  
Old April 10th 06, 05:33 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default 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



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
VB Macro fails on Digitally Signed Emails Outlook Dabbler Outlook and VBA 4 March 13th 14 10:49 AM
How do I find and delete an Outlook personal mail folder? Terry Outlook - Installation 2 April 2nd 06 06:10 AM
I often find my outlook mail hangs C Ponnnu Outlook - General Queries 0 February 20th 06 05:25 PM
Detecting signed/encrypted mail messages [email protected] Add-ins for Outlook 1 January 29th 06 09:30 PM
How we can find out the format of the mail. Vinayakc Add-ins for Outlook 5 January 27th 06 01:51 PM


All times are GMT +1. The time now is 03:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2024 Outlook Banter.
The comments are property of their posters.