Author |
|
dmoring Newbie
Joined: 27 November 2008 Location: United States
Online Status: Offline Posts: 2
|
Posted: 27 November 2008 at 9:46am | IP Logged
|
|
|
I need to get message UIDs whose flags have changed (for a sync) - something along the lines of:
UID FETCH 1:<lastseenuid> FLAGS
How do I do this with MailBee IMAP object?
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 28 November 2008 at 1:37am | IP Logged
|
|
|
Try the following:
Code:
Mailer.SendCommand("UID FETCH 1:999 FLAGS") |
|
|
You'd need to parse the server response in your application.
Best regards,
Andrew
|
Back to Top |
|
|
dmoring Newbie
Joined: 27 November 2008 Location: United States
Online Status: Offline Posts: 2
|
Posted: 28 November 2008 at 9:15am | IP Logged
|
|
|
I posted in the wrong forum Andrew... sorry - I meant in MailObjects.NET! I see the ExecuteCustomCommand (and is that the right thing?) but how do I get the server response? TIA!
|
Back to Top |
|
|
Andrew AfterLogic Support
Joined: 28 April 2006 Location: United States
Online Status: Offline Posts: 1189
|
Posted: 29 November 2008 at 9:44am | IP Logged
|
|
|
I've moved this topic to the appropriate forum.
To analyze results of commands sent via ExecuteCustomCommand method, you can use GetServerResponse and GetServerResponses methods.
Best regards,
Andrew
|
Back to Top |
|
|