Home Refresh Outlook mailitem
Reply: 0

Refresh Outlook mailitem

user994 Published in April 24, 2018, 6:37 am

I have created an Outlook addin using NetOffice and it does exactly what it is meant to do: find inline images with broken src attributes (src="cid:somecontent@id") and try to fix them to point to the correct attachments. This is because from an external source, those attributes get messed up, and so do the cids of the attachments. But there is no problem here. The problem is that after the changes are saved to the MailItem, the inspector does not refresh it's view. The changes only get reflected after I restart Outlook, which is by no mean acceptable.

My question is: how can I force Outlook to refresh it's view of the current MailItem?

From what I could find from other Internet resources, Outlook caches that mailitem and because the CIDs are set using Extended Properties, it is not aware of the need to refresh.

Don't know exactly what code bits to post, since the code works fine for what it's intended. This is only a refreshing problem.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.370767 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO