views:

173

answers:

3

Hey,

I am writing an Outlook 2007 add-in. I would like to know what event occurs when user moves an email from a folder to another one (with drag and drop or with move to folder option). My application represents a spam filter, I have a Spam folder, and I need to know whenever user moves an email form inbox to spam or form spam to inbox (this means for me that the email was wrong classified and I have to retrain it).

Thanks

A: 

how about Folder.BeforeItemMove?

ax
A: 

Spambayes is a popular Open Source spam filter, which works exactly the way you describe - have a look at how it does it.

RichieHindle
Bayesian classifier is actually what I implemented in my application
jenny
+1  A: 

Install the tool Outlook Spy then try out your experiment and see what events Outlook fires under the hood

Conrad