Posted By:
venkat_subramanian
Posted On:
Wednesday, October 3, 2001 05:28 PM
Does somebody have code for an Atomic Move of a single email (IMAP message) from one folder to another folder?
Since their is no Move operation provided by JavaMail, Move needs to happen by a Copy and a Delete. By atomic I mean if Copy or Delete fail, both of them should fail resulting in a failed Move.
I am looking for Prototype something like this.
Move(Message msg, Folder destFolder)
{
}
Thanks for your help
Venkat