how to send emails using windows powershell code example
Example: how to send mail and attachment using powershell
$file = "C:\folder\file.csv"
$att = new-object Net.Mail.Attachment($file)
$file = "C:\folder\file.csv"
$att = new-object Net.Mail.Attachment($file)