New mailitem

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
 
K

Ken Slovak - [MVP - Outlook]

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

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