Jim Erwin
Posts: 23
Joined: 2006-10-09
|
In the Outlook add-in I'm currently working on, if an e-mail inspector is activated from the inbox folder, and there is a certain user property not set, and the e-mail subject does not show that it's currently associated with a company job (using a regular expression), and the e-mail did not come from an internal address for the company I'm working on this for, then the add-in pops a modal form that forces the user to either rebuild the subject and associate it with a job, or click a different button that designates the e-mail a "personal" e-mail.
I am handling this in an event handler for the Inspector_Activate event. Everything is working as expected except for one issue. When the subject is rewritten, and the MailItem's subject property is set to it, then I call MailItem.Save(). Once the MailItem is saved, the modified subject shows correctly in the Explorer and the public folder that the e-mail is copied to, but it still shows the original subject in the inspector that is popped up.
How can I get it to show the modified subject in the inspector?
thanks,
JE |
|
Sergey Grischenko
Add-in Express team
Posts: 7235
Joined: 2004-07-05
|
|