Identifying HIGH IMPORTANCE when sending email through the Outlook VBO

GatesV

Member
Good day BP Gurus!

Any of you know how I could modify the Outlook VBO to have the ability to determine that I want an email sent with the HIGH IMPORTANCE option? Ideally, this would come as a parameter that I could either set to True or False and use False as default if left unspecified.

Thanks a bunch in advance!
 

GatesV

Member
I found the answer to my question. In case anybody else wishes to know...

Add an input in the Start stage requesting for Mail Priority, as a Number type.
Set the Mail Priority data stage to a 1 as default value.

Copy the Outlook VBO to MS Outlook VBO - Extended and add the piece of code in the Send Email action.

---
Select Case Priority_Level
Case 0
mail.Importance = 0
Case 2
mail.Importance = 2
Case Else
mail.Importance = 1
End Select
---

0 is Low Importance
1 is Normal
2 is High Importance

See the attached picture for the modification to the Send Email code stage.
 

Attachments

  • 2019-11-05_15-23-22.jpg
    109.2 KB · Views: 53
Top