Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 634879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:20:37+00:00 2026-05-13T20:20:37+00:00

I am developing outlook 2007 add in, and facing problems with Outlook Security MessageBoxes

  • 0

I am developing outlook 2007 add in, and facing problems with Outlook Security MessageBoxes.
I know that i can disable it from the trust center and set allow programmatic access to true,
but i want to disable it by code.

How can i disable Outlook Security MessageBox by code?

Note: I am using C# and VSTO.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T20:20:38+00:00Added an answer on May 13, 2026 at 8:20 pm

    Ok,

    The security guard pops up when you try to access certain properties of the mail mainly around the email addresses. You can use mapilib to stop it or use redemption‘s safe mail item. or

    You can use the mail items PropertyAccessor to gain access to the underlying Mapi properties

    For the “TO” you need PR_EMAIL_ADDRESS (or PR_SMTP_ADDRESS)

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

    I would suggest that you download Dimitry’s Outlook spy its “the” tool if you are developing Mapi/outlook etc.

    You can then look up the Mapi properties and their ids to get the others

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an Outlook Add-in that is using Outlook contacts from local machine
I am currently developing an Outlook add in that automatically creates a signature in
Background: I'm developing an Outlook 2007 Add-in in VS2010 in C#. The specific thing
I'm developing an outlook 2010 add-in in c#/.net. I have some items that I
We are developing Outlook 2007 add-in. For testing outlook category renaming I've added the
I'm developing an add-in for Outlook 2007 (VSTO 4.0, .Net 4.0). Whenever I install
I'm developing an Add In for Outlook (2007 and 2010) using .NET4 to be
I am currently engaged in developing a add-in for MS outlook 2007. I need
I'm developing an application that needs to perform some processing on the user's Outlook
I have an outlook addin that I have been developing for some time now,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.