Open in the explorer

[Deprecated] When sending a message

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Microsoft Outlook 2016 › Outlook Options › Preferences › E-mail Options › Advanced E-mail Options
Supported on
At least Windows Server 2008 R2 or Windows 7
ADMX file
outlk16.admx
Internal name
outlk16/L_Whensendingamessage

Explanation

[Deprecated]
This policy has been replaced with a new policy that allows the preferences to be set individually. For more information, see https://go.microsoft.com/fwlink/?linkid=2333436

Registry

HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\preferences
Value name
not defined in the ADMX

Enable / disable values: not defined in the ADMX (see the options below).

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: outlk16/L_Whensendingamessage
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Set importance
# Possible options:
#   High = 2
#   Normal = 1
#   Low = 0
Set-ItemProperty -Path $k -Name 'importance' -Value 1 -Type DWord
# Set sensitivity
# Possible options:
#   Normal = 0
#   Personal = 1
#   Private = 2
#   Confidential = 3
Set-ItemProperty -Path $k -Name 'sensitivity' -Value 0 -Type DWord
# Allow commas as address separator
# unchecked: 0
Set-ItemProperty -Path $k -Name 'allowcommasinrecip' -Value 1 -Type DWord
# Automatic name checking
# unchecked: 0
Set-ItemProperty -Path $k -Name 'autonamecheck' -Value 1 -Type DWord
# Delete meeting request from Inbox when responding
# unchecked: 0
Set-ItemProperty -Path $k -Name 'deletewhenrespond' -Value 1 -Type DWord
# Suggest names while completing To, Cc, and Bcc fields
# unchecked: 0
Set-ItemProperty -Path $k -Name 'showautosug' -Value 1 -Type DWord
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\general'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Messages expire after (days)
Set-ItemProperty -Path $k -Name 'numdaysexpire' -Value 0 -Type DWord  # between 0 and 3652
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Add properties to attachments to enable Reply with Changes
# unchecked: 1
Set-ItemProperty -Path $k -Name 'adhocreviewbehavior' -Value 0 -Type DWord

Disable

# Disable: outlk16/L_Whensendingamessage
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": outlk16/L_Whensendingamessage
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\preferences'
Remove-ItemProperty -Path $k -Name 'importance' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'sensitivity' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'allowcommasinrecip' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'autonamecheck' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'deletewhenrespond' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'showautosug' -ErrorAction SilentlyContinue
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\general'
Remove-ItemProperty -Path $k -Name 'numdaysexpire' -ErrorAction SilentlyContinue
$k = 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail'
Remove-ItemProperty -Path $k -Name 'adhocreviewbehavior' -ErrorAction SilentlyContinue

Options (8)

LabelControlRegistry valueREG typeConstraints / details
Set importance:L_SetimportanceDrop-down listenumimportanceREG_DWORD
Default choice (UI): #1
LabelValue
HighREG_DWORD = 2
NormalREG_DWORD = 1
LowREG_DWORD = 0
Set sensitivity:L_SetsensitivityDrop-down listenumsensitivityREG_DWORD
Default choice (UI): #0
LabelValue
NormalREG_DWORD = 0
PersonalREG_DWORD = 1
PrivateREG_DWORD = 2
ConfidentialREG_DWORD = 3
Messages expire after (days):L_MessagesexpireafterdaysNumeric boxdecimalnumdaysexpirein software\policies\microsoft\office\16.0\outlook\options\generalREG_DWORD
Min: 0 · Max: 3652 · Default (UI): 0
Allow commas as address separatorL_AllowcommasasaddressseparatorCheck boxbooleanallowcommasinrecipREG_DWORD
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0
Automatic name checkingL_AutomaticnamecheckingCheck boxbooleanautonamecheckREG_DWORD
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0
Delete meeting request from Inbox when respondingL_DeletemeetingrequestfromInboxwhenrespondingCheck boxbooleandeletewhenrespondREG_DWORD
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0
Suggest names while completing To, Cc, and Bcc fieldsL_SuggestnameswhilecompletingToCcandBccfieldsCheck boxbooleanshowautosugREG_DWORD
Checked: REG_DWORD = 1
Unchecked: REG_DWORD = 0
Add properties to attachments to enable Reply with ChangesL_AddpropertiestoattachmentstoenableReplywithChangesCheck boxbooleanadhocreviewbehaviorin software\policies\microsoft\office\16.0\outlook\options\mailREG_DWORD
Checked: REG_DWORD = 0
Unchecked: REG_DWORD = 1

Application

Microsoft 365 Apps / Office (Microsoft) — November 2026 templates

Official templates downloaded on November 12, 2026.