79142792

Date: 2024-10-30 21:10:41
Score: 0.5
Natty:
Report link

I found a solution!

Create a blank email, apply the sensitivity label, save it as OFT (Outlook Template) and store it somewhere, say C:\Temp.

On your powershell script, all you need to do is:

Replace this line -> $outlook.CreateItem(0)
By this line -> $outlook.CreateItemFromTemplate("C:\Temp\YourEmail.oft")

Hope it helps

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Paulo Goissis