Outlook Add-in Problem - Cannot modify message body when email is read

N

Norman

I am developing an Outlook 2003 Add-in using VB.net. I want to be
able to modify the body of an email message, WHEN it is being read.

Basically, when the user opens up a email message - the NewInspector
event fires in my Add-in, I get an Outlook.MailItem. On this
MailItem (let's assume its plain text), I do the following:
MailItem.Body = "Text"
MailItem.Save()

The net result is that the message body is NOT changed. If you close
the email, and re-open it.. then the change can be seen.

In other words, I need to refresh the body of the message so that
Outlook displays the new message body, and not the original message
body.

Any idea on how this can be done?
 
G

Guest

I have the same problem when the email message is in the plain text and I
want to convert it in RTF changed the body via MAPI.

Could anyone help me?
Thx
 

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