Powershell Email – Mark Important

Just a quick tip, to set an email so that it shows up as urgent in outlook (Shows a !) use the following code when setting up the email…

$msg.Priority = [System.Net.Mail.MailPriority]::High

To see how to send the rest of the email check here

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.