on | R Documentation |
Criterion constructor function to be combined in a custom search statement
on(date_char, negate = FALSE)
date_char |
A |
negate |
If |
A search string to be used as a request
parameter in
ImapCon$search()
function.
Other custom search:
AND()
,
ImapCon
,
OR()
,
before()
,
flag()
,
larger_than()
,
older_than()
,
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 "17-Apr-2019" AND SMALLER than 512KB.
res <- con$search(request = OR(on(date_char = "30-Jun-2019"),
on(date_char = "22-Mar-2018")))
# search for messages received ON "30-Jun-2019" OR ON "22-Mar-2018".
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.