Builds a FILTER <name> search criterion (RFC 5466), which stands for the search criteria saved on the server under that name through the ManageSieve protocol. Requires the server FILTERS capability, which is checked when the search is executed. Experimental: none of the reference servers used to validate this package advertises FILTERS, so the criterion follows the RFC grammar but has not been exercised against a live server.

filter_stored(name)

Arguments

name

A character string with the name of the filter stored on the server.

Examples

if (FALSE) { # \dontrun{
con$select_folder(name = "INBOX")
res <- con$search(request = AND(filter_stored("on-the-road"),
                                string(expr = "boss@example.com", where = "FROM")))
} # }