View source: R/fyleAttachmentGrabber.R
This function saves all attachments from emails containing specific text in the subject. Works with COM email clients.
1 2 3 4 5 | fyleAttachmentGrabber(
subject_keyword,
max_recent_emails = 1000,
attachment_folder = "saved_attachment_fyles"
)
|
subject_keyword |
Search string or regex, though regex is not thoroughly tested. fyleAttachmentGrabber() will search through your email inbox and pull all attachments from any email that has this string in its subject. |
max_recent_emails |
How many emails to look at. fyleAttachmentGrabber() will search through max_recent_emails or the number of emails in your inbox, whichever is less. |
attachment_folder |
Optional name of folder to save attachments to. This folder will be created in your current directory. Specifying a directory with a full path may work but is untested. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.