I'm trying to get new messages starting from the last saved message id of a folder.
Here's my code so far:
self.imap_connection.examine(folder)
imap_query = "UID SEARCH #{last_uid}:*"
messages = self.imap_connection.search(imap_query)
The only response I'm getting from the IMAP server is: Error in IMAP command received by server.
So, does anyone know the correct "syntax" for the ruby imap library to get the uids ??
Regards, Alex