SEARCH: SEARCH

Description Usage Arguments Value Examples

View source: R/search.R

Description

Search mailbox for messages matching criteria.

Usage

1
SEARCH(imap, criteria = "ALL")

Arguments

imap

imap object

criteria

search criteria like 'ALL', 'UNSEEN', 'FROM "stefan"' et cetera

Value

updated imap object

Examples

1
2
3
4
5
6
## Not run: 
   # with 'imap' as an imap object ...
   response <- imap %>%
      SEARCH("UNSEEN") %>% execute()

## End(Not run)

crazycapivara/imapr documentation built on May 14, 2019, 11:32 a.m.