How to avoid Outlook security alert when reading outlook message from C# program

后端 未结 7 576
终归单人心
终归单人心 2020-12-05 11:30

I have a requirement of reading subject, sender address and message body of new message in my Outlook inbox from a C# program. But I am getting security alert \'A Program is

7条回答
  •  心在旅途
    2020-12-05 12:01

    Try this

    Tools-->Macro-->Security-->Programmatic Access

    Then choose Never warn me about suspicious activity.

提交回复
热议问题