Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET IMAP

 AfterLogic Forum : MailBee.NET IMAP
Subject Topic: Get UID’s for Flag-changes Messages Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dmoring
Newbie
Newbie


Joined: 27 November 2008
Location: United States
Online Status: Offline
Posts: 2
Posted: 27 November 2008 at 9:46am | IP Logged Quote dmoring

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 View dmoring's Profile Search for other posts by dmoring
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 28 November 2008 at 1:37am | IP Logged Quote Andrew

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 View Andrew's Profile Search for other posts by Andrew
 
dmoring
Newbie
Newbie


Joined: 27 November 2008
Location: United States
Online Status: Offline
Posts: 2
Posted: 28 November 2008 at 9:15am | IP Logged Quote dmoring

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 View dmoring's Profile Search for other posts by dmoring
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 29 November 2008 at 9:44am | IP Logged Quote Andrew

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 View Andrew's Profile Search for other posts by Andrew
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide