PowerShell 简单的Send-MailMessage

示例

Send-MailMessage -From sender@bar.com -Subject "Email Subject" -To receiver@bar.com -SmtpServer smtp.com