Author |
|
NEWskin Newbie
![Newbie](forum_images/1_star_rating.gif)
![Avatar](https://lh4.googleusercontent/-CAIrMEpJaC8/AAAAAAAAAAI/AAAAAAAAAAA/2kTRVLLCQ8o/s128-c/photo)
Joined: 14 May 2015 Location: Latvia
Online Status: Offline Posts: 1
|
Posted: 14 May 2015 at 4:37am | IP Logged
|
|
|
I have IDLE running, when I delete message in Gmail (it moves to trash) I recive "EXPUNGE" == e.StatusID status in IDLE. Also I get e.MessageCountOrIndex which in my case is index. I save them on my list, to process after.
When I stop Idle From previously saved list <status, index> I download Envelopes by index from "Inbox" folder, to check flags.
This way I can check //Seen flag, and make changes to my data.
But the problem is that I can't get Deleted messages by knowing <status, index> parameters. Index does not tell where massage is located (in winch folder).I tried to change folder to "Trash" that also didn't helped.
Is there a way at IDLE receive more information about message?
May be there is another approach to get message status changes?
|
Back to Top |
|
|
Igor AfterLogic Support
![AfterLogic Support](forum_images/5_star_rating.gif)
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6082
|
Posted: 14 May 2015 at 5:36am | IP Logged
|
|
|
Is my understanding correct that you have an application which runs IDLE, and another application which actually deletes the messages? In terms of IMAP, it's not possible to track message once it leaves one folder and moves into the other one (unless you use MoveMessage in that same application which renders IDLE useless). There's a couple of suggestions here, though: if the message retains Deleted flag upon moving to Trash, you can run IMAP search looking for that flag in Trash folder. Or, you could simply run 2 threads monitoring Inbox and Trash via IDLE - that still won't allow for locating matching messages between the folders but you could have them both synced with your local list.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|