Description Usage Arguments Value Examples
Save all attachments from a 'msg" object
1 | save_attachments(msg_obj, path = getwd(), use_short = TRUE, quiet = FALSE)
|
msg_obj |
a message object read in with |
path |
directory path to save attachments in (defaults to current directory) |
use_short |
if |
quiet |
if |
a character vector of full path names of files written out (invisibly)
1 2 3 4 | x <- read_msg(system.file("extdata/unicode.msg", package="msgxtractr"))
td <- tempdir()
res <- save_attachments(x, td)
for (f in res) unlink(f)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.