Re: Is is possible somehow that I give a search string (valid ) and get a javax.mail.search.searchterm (IMAP ) object corresponding to it

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Is is possible somehow that I give a search string (valid ) and get a javax.mail.search.searchterm (IMAP ) object corresponding to it

by Bill Shannon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Saurabh Agarwal wrote:

> Hi All,
>
> I need some help , I want  to search the IMAP server for mails matching
> a specific criteria  .
>
> I want to know if by any way It is possible that I give a search string
> (valid )
>  and get a javax.mail.search.searchterm corresponding to it.
>
> or I can give my own custom string that can be sent to the IMAP server
> as it is .
>
> Actually in my case some other client application is giving me the
> search string (IMAP format )
> and I had to do parsing etc to constitute a SearchTerm out of the string .
>
> I want to say that ultimately java api is sending the search string to
> the IMAP server ,
>  Is there no way I can send my custom search string ( assuming it is
> correct ) to the IMAP server.

Sorry, there's currently no way to do that.

===========================================================================
To unsubscribe, send email to listserv@... and include in the body
of the message "signoff JAVAMAIL-INTEREST".  For general help, send email to
listserv@... and include in the body of the message "help".
LightInTheBox - Buy quality products at wholesale price