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?
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?