Change E-Mail Icon

G

Guest

Is it possible to change the icon used for an opened MailItem? I have a
criteria that I would like to classify e-mails using a custom Outlook field.
I would like to change the icon based on this classification. Is this at all
possible in Outlook 2003 sp2?

The only folder I truley care about showing this icon would be the Sent
folder, if it matters.

I would like to use VSTO with VS 2005.

Thank you,
DG
 
D

Dmitry Streblechenko

You can set the PR_ICON_INDEX MAPI propety to one of the bult-in Outlook
icons (you can play with that property usisng MFCMAPI or OutlookSpy).
If you want your own icon, you need to publish your own form with a custom
icon for a custom message class, then change the item's message class to
that handled by a form.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top