APIDownloadNextEmailAttachments Method |
Saves all attachments from the next matching email in the default folder (i.e. Inbox).
Namespace:
AppRobotic
Assembly:
AppRobotic (in AppRobotic.dll) Version: 15.21.3.21 (15.21.03.21)
Syntax public string DownloadNextEmailAttachments(
Object AttachSaveToFolderPath,
Object EmailsAllOrUnread,
Object MarkAsUnread
)
Parameters
- AttachSaveToFolderPath
- Type: SystemObject
Specify "Default" or a folder path to save the attachments from the next email. If Default, saves to the AppRobotic Emails\Attachments folder in Documents. - EmailsAllOrUnread
- Type: SystemObject
Specify "All" or "Unread". "All" gets the next email in the default folder (i.e. Inbox), "Unread" only gets the next unread email. - MarkAsUnread
- Type: SystemObject
Specify true or false. If true, will mark the email as Unread after saving. If false, will mark the email as Read after saving.
Return Value
Type:
StringReturns string containing 'success' or error message.
See Also