Skip to content

Commit 63dd408

Browse files
committed
Parameter length limits
Issue #11168
1 parent a0821d1 commit 63dd408

File tree

4 files changed

+92
-32
lines changed

4 files changed

+92
-32
lines changed

exchange/exchange-ps/exchange/New-InboxRule.md

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,9 @@ Accept wildcard characters: False
266266
### -BodyContainsWords
267267
The BodyContainsWords parameter specifies a condition for the Inbox rule that looks for the specified words or phrases in the body of messages.
268268
269-
If the phrase contains spaces, you need to enclose the value in quotation marks. You can specify multiple values separated by commas.
269+
To specify multiple words or phrases, use the following syntax: `Word1,"Phrase with spaces",word2,...wordN`. Don't use leading or trailing spaces.
270+
271+
The maximum length of this parameter is 255 characters.
270272

271273
The corresponding exception parameter to this condition is ExceptIfBodyContainsWords.
272274

@@ -416,7 +418,9 @@ Accept wildcard characters: False
416418
### -ExceptIfBodyContainsWords
417419
The ExceptIfBodyContainsWords parameter specifies an exception for the Inbox rule that looks for the specified words or phrases in the body of messages.
418420

419-
If the phrase contains spaces, you need to enclose the value in quotation marks. You can specify multiple values separated by commas.
421+
To specify multiple words or phrases, use the following syntax: `Word1,"Phrase with spaces",word2,...wordN`. Don't use leading or trailing spaces.
422+
423+
The maximum length of this parameter is 255 characters.
420424

421425
The corresponding condition parameter to this exception is BodyContainsWords.
422426

@@ -493,7 +497,9 @@ Accept wildcard characters: False
493497
### -ExceptIfFromAddressContainsWords
494498
The ExceptIfFromAddressContainsWords parameter specifies an exception for the Inbox rule that looks for messages where the specified words are in the sender's email address.
495499

496-
You can specify multiple values separated by commas.
500+
To specify multiple words or phrases, use the following syntax: `Word1,"Phrase with spaces",word2,...wordN`. Don't use leading or trailing spaces.
501+
502+
The maximum length of this parameter is 255 characters.
497503

498504
The corresponding condition parameter to this exception is FromAddressContainsWords.
499505

@@ -552,7 +558,9 @@ Accept wildcard characters: False
552558
### -ExceptIfHeaderContainsWords
553559
The HeaderContainsWords parameter specifies an exception for the Inbox rule that looks for the specified words or phrases in the header fields of messages.
554560

555-
If the phrase contains spaces, you need to enclose the value in quotation marks. You can specify multiple values separated by commas.
561+
To specify multiple words or phrases, use the following syntax: `Word1,"Phrase with spaces",word2,...wordN`. Don't use leading or trailing spaces.
562+
563+
The maximum length of this parameter is 255 characters.
556564

557565
The corresponding condition parameter to this exception is HeaderContainsWords.
558566

@@ -726,7 +734,7 @@ Accept wildcard characters: False
726734
### -ExceptIfRecipientAddressContainsWords
727735
The ExceptIfRecipientAddressContainsWords parameter specifies an exception for the Inbox rule that looks for messages where the specified words are in recipient email addresses.
728736

729-
You can specify multiple values separated by commas.
737+
You can specify multiple values separated by commas. The maximum length of this parameter is 255 characters.
730738

731739
The corresponding condition parameter to this exception is RecipientAddressContainsWords.
732740

@@ -794,7 +802,9 @@ Accept wildcard characters: False
794802
### -ExceptIfSubjectContainsWords
795803
The ExceptIfSubjectContainsWords parameter specifies an exception for the Inbox rule that looks for the specified words or phrases in the Subject field of messages.
796804

797-
If the phrase contains spaces, you need to enclose the value in quotation marks. You can specify multiple values separated by commas.
805+
To specify multiple words or phrases, use the following syntax: `Word1,"Phrase with spaces",word2,...wordN`. Don't use leading or trailing spaces.
806+
807+
The maximum length of this parameter is 255 characters.
798808

799809
The corresponding condition parameter to this exception is SubjectContainsWords.
800810

@@ -814,9 +824,11 @@ Accept wildcard characters: False
814824
### -ExceptIfSubjectOrBodyContainsWords
815825
The ExceptIfSubjectOrBodyContainsWords parameter specifies an exception for the Inbox rule that looks for the specified words or phrases in the Subject field or body of messages.
816826

817-
If the phrase contains spaces, you need to enclose the value in quotation marks. You can specify multiple values separated by commas.
827+
To specify multiple words or phrases, use the following syntax: `Word1,"Phrase with spaces",word2,...wordN`. Don't use leading or trailing spaces.
818828

819-
The corresponding condition parameter to this exception is ExceptIfSubjectOrBodyContainsWords.
829+
The maximum length of this parameter is 255 characters.
830+
831+
The corresponding condition parameter to this exception is SubjectOrBodyContainsWords.
820832

821833
```yaml
822834
Type: MultiValuedProperty
@@ -1062,7 +1074,9 @@ Accept wildcard characters: False
10621074
### -FromAddressContainsWords
10631075
The FromAddressContainsWords parameter specifies a condition for the Inbox rule that looks for messages where the specified words are in the sender's email address.
10641076

1065-
You can specify multiple values separated by commas.
1077+
To specify multiple words or phrases, use the following syntax: `Word1,"Phrase with spaces",word2,...wordN`. Don't use leading or trailing spaces.
1078+
1079+
The maximum length of this parameter is 255 characters.
10661080

10671081
The corresponding exception parameter to this condition is ExceptIfFromAddressContainsWords.
10681082

@@ -1121,7 +1135,9 @@ Accept wildcard characters: False
11211135
### -HeaderContainsWords
11221136
The HeaderContainsWords parameter specifies a condition for the Inbox rule that looks for the specified words or phrases in the header fields of messages.
11231137

1124-
If the phrase contains spaces, you need to enclose the value in quotation marks. You can specify multiple values separated by commas.
1138+
To specify multiple words or phrases, use the following syntax: `Word1,"Phrase with spaces",word2,...wordN`. Don't use leading or trailing spaces.
1139+
1140+
The maximum length of this parameter is 255 characters.
11251141

11261142
The corresponding exception parameter to this condition is ExceptIfHeaderContainsWords.
11271143

@@ -1427,7 +1443,7 @@ Accept wildcard characters: False
14271443
### -RecipientAddressContainsWords
14281444
The RecipientAddressContainsWords parameter specifies a condition for the Inbox rule that looks for messages where the specified words are in recipient email addresses.
14291445

1430-
You can specify multiple values separated by commas.
1446+
You can specify multiple values separated by commas. The maximum length of this parameter is 255 characters.
14311447

14321448
The corresponding exception parameter to this condition is ExceptIfRecipientAddressContainsWords.
14331449

@@ -1577,7 +1593,9 @@ Accept wildcard characters: False
15771593
### -SubjectContainsWords
15781594
The SubjectContainsWords parameter specifies a condition for the Inbox rule that looks for the specified words or phrases in the Subject field of messages.
15791595

1580-
If the phrase contains spaces, you need to enclose the value in quotation marks. You can specify multiple values separated by commas.
1596+
To specify multiple words or phrases, use the following syntax: `Word1,"Phrase with spaces",word2,...wordN`. Don't use leading or trailing spaces.
1597+
1598+
The maximum length of this parameter is 255 characters.
15811599

15821600
The corresponding exception parameter to this condition is ExceptIfSubjectContainsWords.
15831601

@@ -1597,7 +1615,9 @@ Accept wildcard characters: False
15971615
### -SubjectOrBodyContainsWords
15981616
The SubjectOrBodyContainsWords parameter specifies a condition for the Inbox rule that looks for the specified words or phrases in the Subject field or body of messages.
15991617

1600-
If the phrase contains spaces, you need to enclose the value in quotation marks. You can specify multiple values separated by commas.
1618+
To specify multiple words or phrases, use the following syntax: `Word1,"Phrase with spaces",word2,...wordN`. Don't use leading or trailing spaces.
1619+
1620+
The maximum length of this parameter is 255 characters.
16011621

16021622
The corresponding exception parameter to this condition is ExceptIfSubjectOrBodyContainsWords.
16031623

exchange/exchange-ps/exchange/New-TransportRule.md

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2974,7 +2974,9 @@ In on-premises Exchange, this exception is available on Mailbox servers and Edge
29742974

29752975
The ExceptIfSubjectContainsWords parameter specifies an exception that looks for words in the Subject field of messages.
29762976

2977-
To specify multiple words or phrases, this parameter uses the syntax: Word1,"Phrase with spaces",word2,...wordN. Don't use leading or trailing spaces.
2977+
To specify multiple words or phrases, use the following syntax: `Word1,"Phrase with spaces",word2,...wordN`. Don't use leading or trailing spaces.
2978+
2979+
The maximum length of this parameter is 128 characters.
29782980

29792981
```yaml
29802982
Type: Word[]
@@ -3016,7 +3018,9 @@ In on-premises Exchange, this exception is available on Mailbox servers and Edge
30163018

30173019
The ExceptIfSubjectOrBodyContainsWords parameter specifies an exception that looks for words in the Subject field or body of messages.
30183020

3019-
To specify multiple words or phrases, this parameter uses the syntax: Word1,"Phrase with spaces",word2,...wordN. Don't use leading or trailing spaces.
3021+
To specify multiple words or phrases, use the following syntax: `Word1,"Phrase with spaces",word2,...wordN`. Don't use leading or trailing spaces.
3022+
3023+
The maximum length of this parameter is 128 characters.
30203024

30213025
```yaml
30223026
Type: Word[]
@@ -4838,7 +4842,9 @@ In on-premises Exchange, this condition is available on Mailbox servers and Edge
48384842

48394843
The SubjectContainsWords parameter specifies a condition that looks for words in the Subject field of messages.
48404844

4841-
To specify multiple words or phrases, this parameter uses the syntax: Word1,"Phrase with spaces",word2,...wordN. Don't use leading or trailing spaces.
4845+
To specify multiple words or phrases, use the following syntax: `Word1,"Phrase with spaces",word2,...wordN`. Don't use leading or trailing spaces.
4846+
4847+
The maximum length of this parameter is 128 characters.
48424848

48434849
```yaml
48444850
Type: Word[]
@@ -4880,7 +4886,9 @@ In on-premises Exchange, this condition is available on Mailbox servers and Edge
48804886

48814887
The SubjectOrBodyContainsWords parameter specifies a condition that looks for words in the Subject field or body of messages.
48824888

4883-
To specify multiple words or phrases, this parameter uses the syntax: Word1,"Phrase with spaces",word2,...wordN. Don't use leading or trailing spaces.
4889+
To specify multiple words or phrases, use the following syntax: `Word1,"Phrase with spaces",word2,...wordN`. Don't use leading or trailing spaces.
4890+
4891+
The maximum length of this parameter is 128 characters.
48844892

48854893
```yaml
48864894
Type: Word[]

0 commit comments

Comments
 (0)