py_parse_header: Parse email header.

Description Usage Arguments Value Examples

View source: R/py-parse.R

Description

Parses email header using python.

Usage

1
py_parse_header(filename)

Arguments

filename

filename of raw message

Value

list with (to, from, date, subject)

Examples

1
2
3
4
5
6
7
## Not run: 
   imap <- IMAP("server") %>% user("uid", "pwd") %>%
      SELECT("INBOX")
   imap %>% FETCH(1) %>% execute(tempfile()) %>%
      py_parse_header()

## End(Not run)

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