Send HTML Format E-Mails with Send-MailMessage in PowerShell

Requirement: Send E-mail from PowerShell script with HTML formatted body. Solution: Here is an example for sending E-mail as HTML from PowerShell script with Send-MailMessge cmdlet: and the output: Instead of directly embedding the HTML into the script, you can also store it in an external file and retrieve the HTML format/template…

Read more