dcsimg
Retrieving a list of all UIDs using javaMail api
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ahmad_Mahmoudi
Posted On:   Sunday, April 15, 2001 08:57 AM

Using javaMail api 1.2, how can I call IMAP4's uidsearch command to retrieve a list of UIDs for all messages with specific flagItems?

Re: Retrieving a list of all UIDs using javaMail api

Posted By:   Michael_Tupitsyn  
Posted On:   Tuesday, May 8, 2001 05:25 AM

Try com.sun.mail.pop3.POP3Folder
instead of javax.mail.Folder.
Also include
UIDFolder.FetchProfileItem.UID
into FetchProfile.

Re: Retrieving a list of all UIDs using javaMail api

Posted By:   John_Zukowski  
Posted On:   Monday, April 16, 2001 07:14 AM

I haven't tried for IMAP but check http://www.jguru.com/faq/view.jsp?EID=340261. I think it should work for IMAP too.
About | Sitemap | Contact