ex_types

Specifies valid image attachment extensions

Member of namespace

Ewsmail

Syntax

bool ex_types (string extensions)

Parameters

extensions
Type: string
Comma-separated list of file image file attachment extensions to import, with or without period. If a blank extension is supplied, ex_scan will import messages with no attachments.

Parameters

extensions : A comma-separated list of file image file attachment extensions to import, with or without period. If a blank extension is supplied, ex_scan will import messages with no attachments.

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.

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:
ex_wait_time("20")
ex_abort_time("40")
ex_max_docs("200")
ex_types("jpg,tif")