Configure Outlook object model prompt when sending mail

This policy setting controls what happens when an untrusted program attempts to send e-mail programmatically using the Outlook object model.

If you enable this policy setting, you can choose from four different options when an untrusted program attempts to send e-mail programmatically using the Outlook object model:

- Prompt user - The user will be prompted to approve every access attempt.
- Automatically approve - Outlook will automatically grant programmatic access requests from any program. This option can create a significant vulnerability, and is not recommended.
- Automatically deny - Outlook will automatically deny programmatic access requests from any program.
- Prompt user based on computer security. Outlook will only prompt users when antivirus software is out of date or not running.

Important: This policy setting only applies if the ''Outlook Security Mode'' policy setting under ''Microsoft Outlook 2013\Security\Security Form Settings'' is configured to ''Use Outlook Security Group Policy.''

If you disable or do not configure this policy setting, when an untrusted application attempts to send mail programmatically, Outlook relies on the setting configured in the ''Programmatic Access'' section of the Trust Center.

Supported on: At least Windows 7

Guard behavior:


  1. Prompt User
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\15.0\outlook\security
    Value Namepromptoomsend
    Value TypeREG_DWORD
    Value1
  2. Automatically Approve
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\15.0\outlook\security
    Value Namepromptoomsend
    Value TypeREG_DWORD
    Value2
  3. Automatically Deny
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\15.0\outlook\security
    Value Namepromptoomsend
    Value TypeREG_DWORD
    Value0
  4. Prompt user based on computer security
    Registry HiveHKEY_CURRENT_USER
    Registry Pathsoftware\policies\microsoft\office\15.0\outlook\security
    Value Namepromptoomsend
    Value TypeREG_DWORD
    Value3


outlk15.admx

Administrative Templates (Computers)

Administrative Templates (Users)