Description Usage Arguments Value
View source: R/save_attachment.R
Save a particular attachment to a location, given an identifier for the Email the desired file is attached to, and some identifier for which attached file to download.
1 | save_attachment(mailItem, attachment, save_path, must_work = FALSE)
|
mailItem |
either a COMIDispatch pointer to a MailItem object, or an EntryID for a MailItem |
attachment |
the name (character) or index (integer) of the attachment to be saved |
save_path |
character, path to the location where the file should be saved |
character, the path where the file was saved, or NA_character_
if a check determines that the file does not exist, meaning that the file was
not saved
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.