Encrypt Outlook Mail Programmatically via VBA

前端 未结 2 1583
南方客
南方客 2021-01-13 15:38

I am looking for a way to encrypt and send Outlook mail via VBA code in Outlook 2013.

I was hoping I could access the mail object and call something like an \"encryp

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-13 15:54

    You will need to set the PR_SECURITY_FLAGS property. See https://blogs.msdn.microsoft.com/dvespa/2009/03/16/how-to-sign-or-encrypt-a-message-programmatically-from-oom/ for an example.

提交回复
热议问题