PowerShell: How to reliably send emails

142 Views Asked by At

According to the cmdlet help file, Send-MailMessage is no longer recommended for sending email, especially to SMTP servers.

The .NET Platform Compatibility Note, which the documentation leads to, says to use the MailKit .NET library. Upon examining that library's documentation, it found that it's primarily for use with C#. However I want to send email directly from PowerShell.

Are there other options for carrying out this task?

0

There are 0 best solutions below