View Single Post
  #1  
Old August 24th 08, 07:10 PM posted to microsoft.public.outlook.program_vba
Christian Bahnsen
external usenet poster
 
Posts: 1
Default programmatically enable encryption and digital signature

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