problem in Disabling item_write event in outlook

A

Ashish

I am facing a problem in my outlook addin.
When we save a mail which is in draft folder item_write event is called. But
If we close a mail which is in draft folder then first outlook give a
message "do you want to save it" and if we select "yes" then two events are
called for this case item_write() and item_close().
If i avoid saving in item_write then item_close event is not fired.

Function Item_Write()
Item_Write = False
End Function

Is there any way to fire item_close() if i avoid saving in item_write() for
a mail in drafts folder.
 

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