Applies to: Exchange Server 2013, Exchange Online
Topic Last Modified: 2013-01-14
Use the Set-MailboxMessageConfiguration cmdlet to modify email message settings for one mailbox at a time.
For information about the parameter sets in the Syntax section below, see Syntax.
Syntax
Set-MailboxMessageConfiguration -Identity
<MailboxIdParameter> [-AfterMoveOrDeleteBehavior
<OpenPreviousItem | OpenNextItem | ReturnToView>]
[-AlwaysShowBcc <$true | $false>] [-AlwaysShowFrom <$true
| $false>] [-AutoAddSignature <$true | $false>]
[-AutoAddSignatureOnMobile <$true | $false>]
[-CheckForForgottenAttachments <$true | $false>] [-Confirm
[<SwitchParameter>]] [-ConversationSortOrder
<Chronological | Tree | NewestOnTop | NewestOnBottom |
ChronologicalNewestOnTop | ChronologicalNewestOnBottom |
TreeNewestOnBottom>] [-DefaultFontColor <String>]
[-DefaultFontFlags <Normal | Bold | Italic | Underline |
All>] [-DefaultFontName <String>] [-DefaultFontSize
<Int32>] [-DefaultFormat <Html | PlainText>]
[-DomainController <Fqdn>] [-EmailComposeMode <Inline |
SeparateForm>] [-EmptyDeletedItemsOnLogoff <$true |
$false>] [-HideDeletedItems <$true | $false>]
[-IgnoreDefaultScope <SwitchParameter>] [-NewItemNotification
<None | Sound | EMailToast | VoiceMailToast | FaxToast |
All>] [-PreviewMarkAsReadBehavior <Delayed |
OnSelectionChange | Never>] [-PreviewMarkAsReadDelaytime
<Int32>] [-ReadReceiptResponse <DoNotAutomaticallySend |
AlwaysSend | NeverSend>] [-SendAddressDefault <String>]
[-ShowConversationAsTree <$true | $false>] [-SignatureHtml
<String>] [-SignatureText <String>]
[-SignatureTextOnMobile <String>]
[-UseDefaultSignatureOnMobile <$true | $false>] [-WhatIf
[<SwitchParameter>]]
|
Examples
EXAMPLE 1
This example enables an email signature to be added automatically to messages sent from Kai's mailbox.
Copy Code | |
---|---|
Set-MailboxMessageConfiguration -Identity kai -AutoAddSignature $true |
EXAMPLE 2
This example sets items deleted from a conversation thread to not show in the list view of the conversation in Kai's mailbox.
Copy Code | |
---|---|
Set-MailboxMessageConfiguration -Identity kai -HideDeletedItems $true |
EXAMPLE 3
This example sets the compose email message form to show the bcc field always for Kai's mailbox.
Copy Code | |
---|---|
Set-MailboxMessageConfiguration -Identity kai -AlwaysShowBcc $true |
Detailed Description
When run, the Set-MailboxMessageConfiguration cmdlet modifies email message settings for the specified mailbox. Settings include email signature, message format, message options, read receipts, reading pane, and conversations.
You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "User options" entry in the Clients and Mobile Devices Permissions topic.
Parameters
Parameter | Required | Type | Description |
---|---|---|---|
Identity |
Required |
Microsoft.Exchange.Configuration.Tasks.MailboxIdParameter |
The Identity parameter specifies the mailbox. You can use the following values:
|
AfterMoveOrDeleteBehavior |
Optional |
Microsoft.Exchange.Data.Storage.Management.AfterMoveOrDeleteBehavior |
The AfterMoveOrDeleteBehavior parameter specifies the behavior after moving or deleting an email item. You can use the following values:
The default value is |
AlwaysShowBcc |
Optional |
System.Boolean |
The AlwaysShowBcc parameter specifies whether the blind
carbon copy (bcc) field will always appear in the message compose
form for the specified mailbox. The default value is
|
AlwaysShowFrom |
Optional |
System.Boolean |
The AlwaysShowFrom parameter specifies whether the From
field will always appear in the message compose form for the
specified mailbox. The default value is |
AutoAddSignature |
Optional |
System.Boolean |
The AutoAddSignature parameter specifies whether to set
the provided email signature to be automatically included in
messages sent from the specified mailbox. The default value is
|
AutoAddSignatureOnMobile |
Optional |
System.Boolean |
The AutoAddSignatureOnMobile parameter specifies whether
to set the provided email signature to be automatically included in
messages sent from the specified mailbox when using a mobile
device. The default value is |
CheckForForgottenAttachments |
Optional |
System.Boolean |
The CheckForForgottenAttachments parameter specifies
whether users see a reminder prompt when they try to send a message
that includes a reference to a file they intended to attach to a
message, but didn't attach it yet. This value is set to
|
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
The Confirm switch causes the command to pause processing and requires you to acknowledge what the command will do before processing continues. You don't have to specify a value with the Confirm switch. |
ConversationSortOrder |
Optional |
Microsoft.Exchange.Data.Storage.Management.ConversationSortOrder |
The ConversationSortOrder parameter specifies the sorting of messages in the reading pane when viewed in Conversation mode. Possible values are as follows:
The default value is |
DefaultFontColor |
Optional |
System.String |
The DefaultFontColor parameter specifies the font color of the text composed in the message form for the specified mailbox. The parameter accepts a hexadecimal color code value in the format of "#xxxxxx." If the string value provided is unrecognized, the browser application uses a default font color to display the text. |
DefaultFontFlags |
Optional |
Microsoft.Exchange.Data.Storage.Management.FontFlags |
The DefaultFontFlags parameter specifies the font effect on the text composed in the message form for the specified mailbox. Accepted values are as follows:
The default value is |
DefaultFontName |
Optional |
System.String |
The DefaultFontName parameter specifies the font type for the text composed in the message form for the specified mailbox. If the string value provided is unrecognized, the browser application uses a default font type to display the text. |
DefaultFontSize |
Optional |
System.Int32 |
The DefaultFontSize parameter specifies the font size of the text composed in the message form for the specified mailbox. The minimum font size is 1 and the maximum font size is 7. The default value is 2. |
DefaultFormat |
Optional |
Microsoft.Exchange.Data.Storage.Management.MailFormat |
The DefaultFormat parameter specifies the default text
format in the message compose form for the specified mailbox.
Accepted values are |
DomainController |
Optional |
Microsoft.Exchange.Data.Fqdn |
The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to Active Directory. |
EmailComposeMode |
Optional |
Microsoft.Exchange.Data.Storage.Management.EmailComposeMode |
The EmailComposeMode parameter specifies whether users
compose email replies in the preview pane of Microsoft
Office Outlook Web App by default. This value is set to
|
EmptyDeletedItemsOnLogoff |
Optional |
System.Boolean |
The EmptyDeletedItemsOnLogoff parameter specifies whether
to delete items from the Deleted Items folder of the specified
mailbox upon logging out. The default value is
|
HideDeletedItems |
Optional |
System.Boolean |
The HideDeletedItems parameter specifies whether when
messages in a conversation thread are deleted, they can be set to
not display when Conversation View is selected. The default value
is |
IgnoreDefaultScope |
Optional |
System.Management.Automation.SwitchParameter |
The IgnoreDefaultScope parameter instructs the command to ignore the default recipient scope setting for the Exchange Management Shell session and use the entire forest as the scope. This allows the command to access Active Directory objects that aren't currently in the default scope. Using the IgnoreDefaultScope parameter introduces the following restrictions:
|
NewItemNotification |
Optional |
Microsoft.Exchange.Data.Storage.Management.NewItemNotification |
The NewItemNotification parameter specifies how to provide notification for the arrival of new items in the specified mailbox. You can use the following values:
The default value is |
PreviewMarkAsReadBehavior |
Optional |
Microsoft.Exchange.Data.Storage.Management.PreviewMarkAsReadBehavior |
The PreviewMarkAsReadBehavior parameter specifies the options for marking an item as Read in the reading pane. You can use the following values:
The default value is |
PreviewMarkAsReadDelaytime |
Optional |
System.Int32 |
The PreviewMarkAsReadDelaytime parameter specifies the time in seconds to wait before marking an item as Read. The minimum value is 0, and the maximum value is 30. The default value is 5. |
ReadReceiptResponse |
Optional |
Microsoft.Exchange.Data.Storage.Management.ReadReceiptResponse |
The ReadReceiptResponse parameter specifies how to respond to requests for read receipts. You can use the following values:
The default value is |
SendAddressDefault |
Optional |
System.String |
This parameter applies to objects in the cloud-based service. It isn’t available for on-premises deployments. The SendAddressDefault parameter specifies the default From email address when users have POP, IMAP, or Hotmail subscriptions configured on their mailbox. Users can override the default From address when they create an email message in Outlook Web App. You can use one of the following values for the SendAddressDefault parameter:
By default, no default From address is specified on the mailbox. When no default From address is specified, the default behavior is:
You can find the available values for SendAddressDefault on a mailbox by running the command Get-SendAddress -Mailbox <mailbox>. |
ShowConversationAsTree |
Optional |
System.Boolean |
The ShowConversationAsTree parameter specifies how to
sort messages in the list view in an expanded conversation. The
default value is |
SignatureHtml |
Optional |
System.String |
The SignatureHtml parameter specifies that the email signature message contains HTML tags. Any JavaScript code is removed when saving the value. |
SignatureText |
Optional |
System.String |
The SignatureText parameter specifies the content of the email signature automatically applied to messages. The content supports all Unicode characters. |
SignatureTextOnMobile |
Optional |
System.String |
The SignatureTextOnMobile parameter specifies the content of the email signature automatically applied to messages sent from a mobile device. The content supports all Unicode characters. |
UseDefaultSignatureOnMobile |
Optional |
System.Boolean |
The UseDefaultSignatureOnMobile parameter specifies
whether to use the default signature used on a desktop device when
using the Exchange App. The default value is
|
WhatIf |
Optional |
System.Management.Automation.SwitchParameter |
The WhatIf switch instructs the command to simulate the actions that it would take on the object. By using the WhatIf switch, you can view what changes would occur without having to apply any of those changes. You don't have to specify a value with the WhatIf switch. |
Input Types
To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.
Return Types
To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.