| flag | R Documentation |
Criterion constructor function to be combined in a custom search statement
flag(name, negate = FALSE)
name |
A string containing one or more flags to search for. Use
|
negate |
If |
A search criterion of class imap_search, to be combined
into a search statement (see Ops.imap_search).
Other custom search:
AND(),
ImapCon,
OR(),
before(),
filter_stored(),
fuzzy(),
larger_than(),
modseq(),
older_than(),
on(),
saved_before(),
sent_before(),
sent_on(),
sent_since(),
since(),
smaller_than(),
string(),
verbatim(),
younger_than()
## Not run:
# select folder & search
con$select_folder(folder = "INBOX")
# search for messages with Flag "UNSEEN" AND NOT Smaller Than 512KB.
res <- con$search(request = AND(flag("UNSEEN"),
smaller_than(size = 512000, negate = TRUE)))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.