how do i send smtp email with attacment in 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)