MailTools | R Documentation |
Save an e-mail attachment to a file.
saveAttachment(pattern, fname, writeIfExists = TRUE, adjustfn = TRUE)
pattern |
the attachment to find. Can be a regular expression. |
fname |
the mbox file |
writeIfExists |
logical |
adjustfn |
default is |
The function is currently only tested with mbox files (which is the
format that Thunderbird uses, or the format of nnfolders
in
Gnus (http://www.gnus.org/). The function will load the whole
mbox file into memory, which may not work very well if the file is
large.
The function is called for its side effect. It returns a character vector of matched attachment names.
Enrico Schumann
http://www.gnu.org/software/emacs/manual/html_node/gnus/Mail-Folders.html
## to be added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.