Hi
I want to send a mail from Powershell with an attachment. On the internet I found “Send-Mailmessage” and the note that it is obsolete. (https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/send-mailmessage?view=powershell-7)
What is the new and correct way to send a mail?
Thx