im_AcceptMixedAttachments

Ingest emails with selected attachment types, even if non-selected attachment types are included

Member of namespace

Imail

Syntax

bool im_AcceptMixedAttachments(bool bMixedOK)

Parameters

bMixedOK
Type: bool
A boolean value that enables ingestion of emails with both allowed and disallowed attachment types.

Parameters

True An email message with an attachment type not specified by im_types is ingested when it contains a required attachment.

False An email message with any disallowed attachment is rejected, which is the default process if this action is never called.

Returns

Always True.

Level

Batch level.

Details

If this action is never called, the presence of any attachment that is not specified by im_types causes im_scan to treat that email message as a Problem.

If this action is called with parameter True, messages with disallowed attachment types are ingested when they contain at least one allowed attachment.

If im_types is called with a blank parameter before im_scan, all emails are ingested, so this action has no effect.