vba - How do I check for the presence of a valid email (digital) signature attached to an Outlook MailItem (email message)? -



vba - How do I check for the presence of a valid email (digital) signature attached to an Outlook MailItem (email message)? -

is there way

retrieve digital signature attached mailitem using vba? verify validity using vba?

i'm pretty much limited vba in regard. i've tried inspecting sender , mailitem objects can't see signature object.

outlook represents signed/encrypted messages regular ipm.note mailitem objects. goes far returning false imessage mapi interface mailitem.mapiobject property.

you can see in outlookspy - select signed message, click imessage button on outlookspy ribbon. pr_message_class ipm.note. select pr_entryid property, right click, select imapisession::openentry. real message pr_message_class = ipm.note.smime.multipartsigned. can see attachment contains data.

you pretty much limited extended mapi (c++ or delphi only) or redemption (any language - wraps extended mapi) if want distinguish signed/encrypted message regular ones. redemption exposes rdoencryptedmessage object. can retrieve rdosession.getmessagefromid using entry id retrieved mailitem.entryid property in oom.

vba email outlook

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

java - Parsing XML, skip certain tags -

c# - ASP.NET MVC Sequence contains no matching element -