Wednesday, April 25, 2001 10:26 AM
I am attempting to write a set of RMI servers to handle some pieces of JavaMail access for a webmail/hosting service. It is based on IMAP4.
The folders can be uniquely identified by their full name or URLName. (E.g., INBOX.TechMail.jGuru or imap://localhost/INBOX/TechMail/jGuru) However, messages are identified by a folder and message number, but the message number is not guaranteed to be the same between calls--because of newly arrived messages, message deletions, etc.
Is there a Serializable way to identify a message? One that could be passed between Remote stubs that would uniquely identify a Message such as is required for various Folder methods like in copyMessage...