R/sent-since.R
sent_since.RdCriterion constructor function to be combined in a custom search statement
sent_since(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(),
on(),
sent_before(),
sent_on(),
since(),
smaller_than(),
string(),
younger_than()
if (FALSE) { # select folder & search con$select_folder(name = "INBOX") # search for messages SENT SINCE "22-Mar-2020" OR containing the STRING # "congratulations" in the subject. res <- con$search(request = AND(sent_since(date_char = "22-Mar-2020"), string(expr = "congratulations", where = "SUBJECT"))) }