MessageOptions.Security.EncryptContents

J

Jim Zeeb

I am trying to programatically send an email as encrypted. I have all the
certificates for both sender and recipient and can do it successfully
manually. I don't want to set the Tools.Options.Security.Encrypt option
because I need to encrypt for some recipients and not for others. I've
searched the object model for "encrypt" without any success. I'm sending the
email multiple times to different recipients. If I have the global option
set, it pops up a dialog for each recipient who does not have a certificate
and asks to "Send Unencrypted". A way to programatically dismiss this dialog
would be a suitable workaround.

Thanks...
 
Top