View Single Post
  #2  
Old August 25th 08, 03:07 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default programmatically enable encryption and digital signature

No, encryption/signing is not exposed by Outlook.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Christian Bahnsen" wrote in
message ...
Using code I've found here previously, I can programmatically create a new
mail item and set various properties, e.g.,

' now create the email
Set myNewItem = Application.CreateItem(olMailItem)
myNewItem.Display
myNewItem.To = "
myNewItem.Subject = "morning report"


Is there a way to programmatically enable encryption and digital
signature?
Something like:
myNewItem.Encryption = True
myNewItem.DigitallySigned = True

Thanks in advance for any help.
--
Christian Bahnsen



Ads