powershell 寄送email(內部server)
Send-MailMessage -From "it@test.com" -To "test@test.com" -Subject "subjects" -Body "FYI" -Attachment "C:\sayhello\hello.csv" -SmtpServer "192.1.2.1"
Send-MailMessage -From "it@test.com" -To "test@test.com" -Subject "subjects" -Body "FYI" -Attachment "C:\sayhello\hello.csv" -SmtpServer "192.1.2.1"