Send-MailMessage[-Attachments <String[]>] [-Bcc <String[]>] [[-Body] <String>] [-BodyAsHtml] [-Encoding <Encoding>] [-Cc <String[]>] [-DeliveryNotificationOption <DeliveryNotificationOptions>]-From<String> [[-SmtpServer] <String>] [-Priority <MailPriority>] [-ReplyTo <String[]>]...
local -Cc bob@gmail.com, rick@othercompany.com -Bcc susie@hotmail.com,secret@fooorg.org -Subject 'this is a subject'The From ParameterWhen sending email, you can also specify the From parameter which will set the reply-to header in the email. This parameter only allows one address. ...
Adding CC to System.Net.Mail.MailMessage email alert adding custom x-headers to e-mails using the send-mailmessage powershell Adding headers to a new file or csv adding image to HTML-Email body Adding manager attribute fails Adding new sheets to Excel workbook Adding Objects to an Array with...
Send-MailMessage [-To] <String[]> [-Subject] <String> [[-Body] <String>] [[-SmtpServer] <String>] [-Attachments <String[]>] [-Bcc <String[]>] [-BodyAsHtml] [-Cc <String[]>] [-Credential <PSCredential>] [-DeliveryNotificationOption {None | OnSuccess | OnFailure | Delay | Nev...
-Cc <string[]> 指定电子邮件要抄送 (CC) 到的电子邮件地址。输入名称(可选)和电子邮件地址,如“Name <someone@example.com>”。 -Credential <PSCredential> 指定有权执行此操作的用户帐户。默认值为当前用户。 键入用户名,例如“User01”或“Domain01\User01”。或者,输入 PSCredential 对象,例如来自 Get-Cred...