OR | R Documentation |
Relational-operator-function to construct a custom search statement
OR(..., negate = FALSE)
... |
a combination of criteria constructor functions with its arguments. |
negate |
If |
A search string to be used as a request
parameter in
ImapCon$search()
function.
Other custom search:
AND()
,
ImapCon
,
before()
,
flag()
,
larger_than()
,
older_than()
,
on()
,
sent_before()
,
sent_on()
,
sent_since()
,
since()
,
smaller_than()
,
string()
,
younger_than()
## Not run:
# select folder & search
con$select_folder(name = "INBOX")
# search for messages SINCE "30-Ago-2019" OR SMALLER than 512KB.
res <- con$search(request = OR(sent_since(date_char = "30-Ago-2019"),
smaller_than(size = 512000)))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.