Microsoft Windows PowerShell Send-MailMessage – to be able to send email messages via SMTP

windowspowershellblog_logo.jpg   Send-MailMessage sends out emails with the credentials of the current user

Send-MailMessage [-To] <string[]> [-Subject] <string> -From <string> [[-Body] <string>] [[-SmtpServer] <string>] [-Attachments <string[]>] [-Bcc <string[]>] [-BodyAsHtml] [-Cc <string[]>] [-Credential <PSCredential>] [-DeliveryNotificationOption {<None> | <OnSuccess> | <OnFailure> | <Delay> | <Never>}] [-Encoding <Encoding>] [-Priority {<Normal> | <Low> | <High>}] [-UseSsl] [<CommonParameters>]

 windowspowershellblog_sendmail_01.jpg

Leave a Reply

You must be logged in to post a comment.