R/smaller-than.R
smaller_than.RdCriterion constructor function to be combined in a custom search statement
smaller_than(size, negate = FALSE)Other custom search:
AND(),
ImapCon,
OR(),
before(),
flag(),
larger_than(),
modseq(),
older_than(),
on(),
saved_before(),
sent_before(),
sent_on(),
sent_since(),
since(),
string(),
younger_than()
if (FALSE) { # \dontrun{
# select folder & search
con$select_folder(name = "INBOX")
# search for messages containing the string "XYZ@k-state.edu" in the
# "FROM" field OR those that are SMALLER than 512KB.
res <- con$search(request = OR(string(expr = "XYZ@k-state.edu",
where = "FROM"),
smaller_than(size = 512000)))
} # }