View source: R/clean-msg-text.R
clean_msg_text | R Documentation |
Extract text from MIME level
clean_msg_text(msg_list)
msg_list |
A |
A list
containing the decoded messages if applicable.
Moore, K. (1996), MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text, RFC 2047, November 1996, https://tools.ietf.org/html/rfc2047.
Freed, N., Borenstein, N. (1996), Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies, RFC 2045, November 1996, https://tools.ietf.org/html/rfc2045.
Internal parts of this object, regarding the quoted printable type, were borrowed from https://github.com/hrbrmstr/hrbrmisc/blob/master/R/qp.r with slight modifications.
## Not run:
ids <- con$search_since(date_char = "01-Apr-2020", use_uid = TRUE)
fetch_res <- ids %>%
con$fetch_body(use_uid = TRUE, mime_level = 1L)
clean_text_list <- clean_msg_text(msg_list = fetch_res)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.