Message Class and Forms

J

JahMic

I'm trying to mailitems to display a different (custom) icon in their
respective folders. To do this, I've created a form based off of the
standard message form, and modified the icons. I've (seemingly)
successfully installed the form. So, my question is: Is the Message
form the right form to base this off of? After all, it is just on the
viewing side, not create side.

Furthermore, either using OOM or Mapi, I can seemingly successfully
set the Message Class, and while my other properties set persist
through to delivery, my messages keep coming in as 'IPM.Note'. What
am I missing to set this?

Thanks in Advance, J
 
D

Dmitry Streblechenko

If you really, really want a custom icon, a custom form is the only way to
do that.
Do you mean when you send the message through SMTP, the custom message class
does not make it through? When a message is converted to MIME, the message
class cannot be mapped to any of the MIME headers.
You can of course send in the RTF format (the infamous winmail.dat
attachment which stores MAPI specific properties), but mail clients other
than Outlook won't be able to read winmail.dat.

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

JahMic

I see. Yes, this is in regards to going through SMTP. I might be able
to add a custom transport header and convert the PR_MESSAGE_CLASS
OnDelivery. I'm open to suggestions.

The other point was, for just a viewing messages, is a form based off
of the Message form the way to go? What about post or another type?

Thanks, J
 
D

Dmitry Streblechenko

I am not sure I understand what you mean - there is really no difference
between regular messages (IPM.Note) or posts (IPM.Post), at least from the
MAPI and forms point of view.

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

JahMic

Yes, it really isn't a technical question. It's more about design,
since the 'message' form seems to be essentially used for 'sending'
messages, I'm not sure if it's appriopriate as a 'viewer' form. What
I want is form for just reading or viewing recieved messaages. I hope
that makes sense.

Thanks, J
 

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