Click or drag to resize

APIDownloadAllEmailAttachments Method

Saves all attachments from each 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
C#
public string DownloadAllEmailAttachments(
	Object AttachSaveToFolderPath,
	Object EmailsAllOrUnread,
	Object MarkAsUnread
)

Parameters

AttachSaveToFolderPath
Type: SystemObject
Specify "Default" or a folder path to save the attachments from each email. If Default, saves to the AppRobotic Emails\Attachments folder in Documents.
EmailsAllOrUnread
Type: SystemObject
Specify "All" or "Unread". "All" gets the all emails in the default folder (i.e. Inbox), "Unread" only gets the unread emails.
MarkAsUnread
Type: SystemObject
Specify true or false. If true, will mark each email as Unread after saving. If false, will mark each email as Read after saving.

Return Value

Type: String
Returns string containing 'success' or error message.
See Also