I have fetched all my emails using JavaMail API but I want to implement the search feature as it is there in Gmail. Is it possible for us to use the gmail search feature through some interface programmatically, like using Gmail API?

有帮助吗?

解决方案

If you're connecting via IAMP, either IMAP SEARCH (http://tools.ietf.org/search/rfc3501#page-49) or Google's IMAP extension X-GM-RAW (https://developers.google.com/gmail/imap_extensions#extension_of_the_search_command_x-gm-raw) seem like they would provide searching.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top