06-05-2009, 10:04 AM
Join Date: Mar 2008
Location: Austin, TX
Post Thanks: 0
Thanked 34 Times in 33 Posts
ContentHandler is called when the user clicks on your attachment.
If you want to intercept the mail before it hits the inbox, then you will need to use FolderListener.
See the API docs for Message, FolderListener, FolderEvent, and Store.