View source: R/imap-search-class.R
| Ops.imap_search | R Documentation |
Criteria built with the constructor functions (string(),
flag(), before(), sent_since(),
larger_than(), and their relatives) can be combined with the
native operators & (AND), | (OR), and ! (NOT),
as an alternative to AND and OR.
Precedence and grouping follow R's own rules, so parentheses work as
usual. See also ImapCon$query() for the expression-based
interface that does not require constructor calls at all.
## S3 method for class 'imap_search'
Ops(e1, e2)
e1, e2 |
Search criteria built by the constructor functions. |
A search criterion string of class "imap_search", to be
passed to ImapCon$search().
## Not run:
con$search(string("budget", where = "SUBJECT") &
(sent_since(date_char = "01-Oct-2001") | !flag("SEEN")))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.