How do I get the UID for a specific IMAP message?

John Zukowski

This is dependent on the provider you are using. With Sun's IMAP provider you can cast the Folder to a com.sun.mail.imap.IMAPFolder and call the getUID(Message) method. This will return the identifier as a long.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact