POP3it_Adv_GetAttachmentCount

Name

POP3it_Adv_GetAttachmentCount

Description

This function returns the number of Attachments in the current email. If the GetRefInline parameter is set to True, this function will return the number of Inline Images Referenced by the HTML in the current email.

Return Type

Number

Format

POP3it_Adv_GetAttachmentCount ( GetRefInline )

Optional Parameters

GetRefInline

If True, this returns the Number of Inline Images in the HTML in the Current Message, otherwise it returns the Number of normal Attachments. (Default is False.)

Examples

Example 1

This would return 2 if there are two Attachments in the current email.

POP3it_Adv_GetAttachmentCount

Example 2

This would return 1 if there is one Referenced Inline Image in the current email.