Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Get UID of a message from IMAP.

843830Jan 17 2002 — edited Jan 17 2002
I need the UID's of messages from IMAP. I know there is the javax.mail.Message.getMessageNumber() Method, but it returns not the ID I need. It returns the Id the message has within the IMAP-Folder.

Casting of my Message-Objects stored in IMAP to MimeMessage-Objects does not work.

Please tell me if there is a way to get the UID via JavaMail.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 14 2002
Added on Jan 17 2002
1 comment
334 views