im_problem_folder
Specifies the IMAP folder for problem emails.
Member of namespace
ImailSyntax
bool im_problem_folder(string folder)
Parameters
- folder
- Type: string
Parameters
folder: Destination IMAP folder for problem emails.Returns
Always True.Level
Batch level.Details
When an email is processed and the attachment is not one of the expected types, the email is moved to the folder specified by this action.The folder is expected to be on the root level, the same level as the inbox folder of the mail account that is specified by the im_login action. If the folder exists in a subfolder, then use a forward slash to separate the folder names.
If this action is not called, the default value of Problem is used.
- Example:
im_done_folder("Imported") im_problem_folder("Failed")This example changes the default name of the Problem folder to Failed and requires the Imported and Failed folders to be on the same level as the Inbox folder.
im_done_folder("Inbox/Imported") im_problem_folder("Inbox/Failed")This example specifies the folder, which is a subfolder of the Inbox folder.