I am using JACOB API for read mail from outlook, it is nice to read all mails from outlook. now i want to handle event for outlook, like monitor new mail and monitor any mail is delete or move mail from one folder to another folder. Using JACOB i am monitor new mail arrival is successfully, but i am struggle to catch any deleted or move mail from outlook. Any one please tell me how to handle the deleted outlook mail event using JACOB. I am lots of struggle to this task, so it is really helpful to finished my project. so please help me.
and also i got this exception while attach event for outlook folder
i solve my problem, even i cant catch the delete event, i solve my problem in some other way.
first i create the mail item using entryid.
and then i search the parent folder of mail item, if the parent folder is return "Deleted folder " then i assume to this mail item is