All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.mail.search.package.html Maven / Gradle / Ivy

There is a newer version: 2024.11.18751.20241128T090041Z-241100
Show newest version






javax.mail.search package



Message search terms for the JavaMail API. This package defines classes that can be used to construct a search expression to search a folder for messages matching the expression; see the {@link javax.mail.Folder#search search} method on {@link javax.mail.Folder javax.mail.Folder}. See {@link javax.mail.search.SearchTerm SearchTerm}.

Note that the exact search capabilities depend on the protocol, provider, and server in use. For the POP3 protocol, all searching is done on the client side using the JavaMail classes. For IMAP, all searching is done on the server side and is limited by the search capabilities of the IMAP protocol and the IMAP server being used. For example, IMAP date based searches have only day granularity.

In general, all of the string patterns supported by search terms are just simple strings; no regular expressions are supported.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy