Disable Outlook Security Message Box

I am developing an external Outlook 2007 and am encountering problems with Security Security MessageBoxes . I know that I can disconnect it from the trust center and configure access to programmatic access to true, but I want to disable it by code.

How to disable Outlook Security MessageBox by code?

Note. I use C # and VSTO.

+3
source share
1 answer

Good,

, , , . mapilib, redemption .

PropertyAccessor, Mapi

"TO" PR_EMAIL_ADDRESS ( PR_SMTP_ADDRESS)

mailItem.PropertyAccessor.GetProperty("http://schemas.microsoft.com/mapi/proptag/0x3003001F"); 

, Dimitry Outlook spy "the", Mapi/outlook ..

Mapi ,

+3

Source: https://habr.com/ru/post/1733846/


All Articles