im_abort_time

Specifies the delay time before it returns when a batch stops running.

Member of namespace

Imail

Syntax

bool im_abort_time(int nSecs)

Parameters

nSecs
Type: int

Parameters

nSecs: The number of seconds to wait.

Returns

Always True.

Level

Batch level.

Details

The action waits the specified time before it returns when an abort occurs. This action can be useful to prevent many aborted batches due to an abort condition. For example, if the email server can become unavailable for a time, the abort timeout limits the number of aborted batches until the mail server becomes available again.

If this action is not called, the default abort time value of 30 seconds is used.

Example:
im_wait_time("20")
im_abort_time("60")
im_max_docs("200")
im_types("jpg,tif")