im_types
Specifies valid file extensions for image attachments.
Member of namespace
ImailSyntax
bool im_types(string extensions)Parameters
- extensions
- Type: string
Parameters
extensions: Comma-separated list of file image file extensions to import, with or without period. If the parameter is blank, all emails with or without attachments are processed.Returns
Always True.Level
Batch level.Details
This action specifies the allowable email attachment types.If this action is not called, the default value of .pdf is used.
If this action is called and no attachment types are specified, all emails and any attachments are added to the batch. Emails that are processed without attachments result in documents without any pages.
If attachment types are specified and the
email contains:
- Only the specified attachment types, the email, and attachments are added to the batch
- Only unspecified attachment types, or if it contains a mix of specified and unspecified attachment types, the email is moved to the Problem folder
- No attachments, the email is moved to the Problem folder
- Example:
im_wait_time("20") im_abort_time("40") im_max_docs("200") im_types("jpg,tif")