SendMail with Attachments

March 13, 2018 ยท View on GitHub

Use powershell to send mail with Attachments

2ways:

  • Net.Mail.SmtpClient,support powershell v2.0
  • Send-MailMessage,need powershell v3.0