Skip to content

Commit 7acf7e0

Browse files
author
Andrew Menagarishvili
committed
Added docs for ReplyTo parameter in Send-MailMessage
1 parent fe7349a commit 7acf7e0

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

reference/6/Microsoft.PowerShell.Utility/Send-MailMessage.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Sends an email message.
1818
```
1919
Send-MailMessage [-To] <string[]> [-Subject] <string> [[-Body] <string>] [[-SmtpServer] <string>]
2020
-From <string> [-Attachments <string[]>] [-Bcc <string[]>] [-BodyAsHtml] [-Encoding <Encoding>]
21-
[-Cc <string[]>] [-DeliveryNotificationOption <DeliveryNotificationOptions>]
21+
[-Cc <string[]>] [-ReplyTo <string[]>] [-DeliveryNotificationOption <DeliveryNotificationOptions>]
2222
[-Priority <MailPriority>] [-Credential <pscredential>] [-UseSsl] [-Port <int>] [<CommonParameters>]
2323
```
2424

@@ -170,6 +170,23 @@ Accept pipeline input: False
170170
Accept wildcard characters: False
171171
```
172172

173+
### -ReplyTo
174+
175+
Specifies additional email addresses (other than the From address) to use to reply to this message.
176+
Enter names (optional) and the email address, such as `Name <[email protected]>`.
177+
178+
```yaml
179+
Type: String[]
180+
Parameter Sets: (All)
181+
Aliases:
182+
183+
Required: False
184+
Position: Named
185+
Default value: None
186+
Accept pipeline input: False
187+
Accept wildcard characters: False
188+
```
189+
173190
### -Credential
174191

175192
Specifies a user account that has permission to perform this action. The default is the current

0 commit comments

Comments
 (0)