This project is read-only.

Move Message to Another Folder

Nov 19, 2008 at 7:01 AM
In GMail, When I am trying to move the message to another folder, through the method, MoveMessageToFolder() its not working.

when i check the implementation of that method, it's divide into 2 parts.
1. Copy message to another folder
2. Delete that Message

But irrespective of the result of the first part second part is happening.
Here i am getting problem in first part. but second part is completing successfully. that means message is deleting not moving.

and in that method CopyMessageToFolder() method, i am getting the Response from IMAP server to the following command

command :  UID copy 19025  "foldername"   
Response :  "NO No MEssage MAtch (failure.)"

why this happening? why IMAP server not recongnizing message.
when i tried in google, in some groups, some advised, have to refresh the summary/index.
But in this case how to refresh?

Sep 14, 2009 at 11:31 PM

Try this