Rui Manso
Rui Manso

Reputation: 54

Is it possible to have a custom label on outlook sender address?

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.

enter image description here

Upvotes: 0

Views: 156

Answers (1)

Dmitry Streblechenko
Dmitry Streblechenko

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

Related Questions