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