New mailitem

  • Thread starter Thread starter JoBless
  • Start date Start date
J

JoBless

Hi.

I have an add-in, which edits the html-body of all new mailitems.

The way i determine if the mailitem is a new empty mail (on mailopen event),
is the entryID. This works fine, and I insert some html into the htmlbody.

Then outlook doesn't refresh the form, and the user can't see the
changes.... I've then saved the message (closed), and opened again.

This worksaround isn't optimal, because when the user closes a message
without sending and editing it, it's stored in the drafts folder.

Is there any other workaround to make outlook refresh the form?

Regards
JoBless
 
Not really since Outlook caches the item and unless it's released it won't
be updated visually.
 
Back
Top