Here is the sample:
Send-MailMessage -From $emailfrom -To $emailto -Credential $Credential -SmtpServer $emailserver -port $emailport -Subject "testing" -body $emailbody -attachment @("D:\1.txt","D:\2.txt","D:\3.txt")
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment