Plain text options: registry value plainwraplen (mailsettings)UserHKCU\software\policies\microsoft\office\16.0\common\mailsettings

Policy ID
L_Plaintextoptions
Scope
User Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Outlook 2016 › Outlook Options › Mail Format › Internet Formatting

Registry

plainwraplen

REG_DWORDUser
Enabled value
Depends on the option value
Element
Automatically wrap text at <x> characters.
Value type
REG_DWORD
Minimum value
30
Maximum value
132
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\mailsettings]

; Value names and types follow the ADMX. Replace <enter value> below with your own data
"plainwraplen"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data

reg add "HKCU\software\policies\microsoft\office\16.0\common\mailsettings" /v "plainwraplen" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data

New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\mailsettings' -Force | Out-Null
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\mailsettings' -Name 'plainwraplen' -PropertyType DWord -Value '<enter value>' -Force | Out-Null

message plain format mime

REG_DWORDUser
Checked
0
Unchecked
1
Element
Encode attachments in UUENCODE format
Value type
REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\outlook\options\mail]

; Options (use only one)
; Checked
"message plain format mime"=dword:00000000
; Unchecked
"message plain format mime"=dword:00000001
CMD
:: Options (use only one)

:: Checked
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "message plain format mime" /t REG_DWORD /d 0 /f
:: Unchecked
reg add "HKCU\software\policies\microsoft\office\16.0\outlook\options\mail" /v "message plain format mime" /t REG_DWORD /d 1 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Force | Out-Null

# Options (use only one)
# Checked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'message plain format mime' -PropertyType DWord -Value 0 -Force | Out-Null
# Unchecked
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\outlook\options\mail' -Name 'message plain format mime' -PropertyType DWord -Value 1 -Force | Out-Null