ex_done_folder

Specifies the mailbox subfolder to which email messages are moved after the attachment was imported.

Member of namespace

Ewsmail

Syntax

bool ex_done_folder (string folder)

Parameters

folder
Type: string
Destination folder for successfully imported emails

Parameters

folder : Destination folder for successfully imported emails

Returns

Always True.

Level

Batch level.

Details

Specifies the name of the email folder into which successfully imported emails are placed. This folder must be a subfolder of the email account's Inbox. When an email is processed and the attachment is imported, the email is moved to the folder name specified by this action.

If this action is not called, the default value of Done is used.

Example:
ex_done_folder("Imported")
ex_problem_folder("Failed")