Willy
Willy

Reputation: 10638

VSTO Outlook: subscribing ItemAdd event for all the folders in the heriarchy makes saved draft shown incorrectly in the draft folder list

I have an Outlook Add-in in which I need to subscribe to ItemAdd event for all the folders in the heriarchy in order to monitor and do some stuff. After subscribing to it I have observed that the default Outlook behavior for folders on ItemAdd is missed, for example, in particular the draft folder, I mean, I write a new email from compose window and then I do not send it, I simply close compose window so Outlook asks me if I want to save changes and I click on yes button but the problem is that the email saved into the draft folder does not show the date, date of the draft appears as "None". So what am i doing wrong?

Upvotes: 0

Views: 74

Answers (1)

Eugene Astafiev
Eugene Astafiev

Reputation: 49397

An empty ItemAdd event handler is not related to the issue. Only your could cause issues. To give a more precise answer you need to publish your code.

Upvotes: 0

Related Questions