Reputation: 54
I'm creating a small addin (vb.net VSTO) to distinguish emails when arriving from outside of the domain. My question is if it is possible to have a custom label after the sender name, like in the image below? Maybe also being able to set the sender's name with a custom color.
Thanks in advance.
Upvotes: 0
Views: 156
Reputation: 66276
Sure, you can modify the PR_SENDER_NAME
MAPI property, but you cannot add color:
YourMailItem.PropertyAccessor.SetProperty "http://schemas.microsoft.com/mapi/proptag/0x0C1A001F", "Test"
YourMailItem.Save
Upvotes: 1