younger_than | R Documentation |
Criterion constructor function to be combined in a custom search statement
younger_than(seconds, negate = FALSE)
seconds |
An integer specifying the number of seconds to be used as the search criterion. |
negate |
If |
To be able to use this functionality, the server must support the
WITHIN
capability.
Other custom search:
AND()
,
ImapCon
,
OR()
,
before()
,
flag()
,
larger_than()
,
older_than()
,
on()
,
sent_before()
,
sent_on()
,
sent_since()
,
since()
,
smaller_than()
,
string()
## Not run:
# select folder & search
con$select_folder(name = "INBOX")
# search for messages containing the string "XYZ@k-state.edu" in the
# "FROM" field AND those that are YOUNGER than 3600 seconds (1 hour).
res <- con$search(request = AND(string(expr = "XYZ@k-state.edu",
where = "FROM"),
younger_than(seconds = 3600)))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.