Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Send and Forward the same mail generated in a powershell report

$
0
0

Good morning Powershell experts,

I would like to ask about powershell and send a mail. I need to send a mail from my script to one use mail account and this same mail, I would like to forward it to other other mail account.

I am not sure if combining both actions is posible. To send mails using send-MailMessage or using the class Net.Mail.MailMessage + Net.Mail.SmtpClient I did it. But I dont find the way (if it is possible of course) to forcing the forwaring to other mail.


Viewing all articles
Browse latest Browse all 6937

Trending Articles