MailLocalAttachmentLen

The MailLocalAttachmentLen function computes the total size of local files of attachments to a message.

Syntax

DWORD MailLocalAttachmentLen (HANDLE hMail, MAILMSG * pmm);

At a Glance

Header file: Msgstore.h
Platforms: H/PC
Versions: 2.0 and later

Parameters

hMail
Handle to the open mail context, as returned by the MailOpen function.
pmm
Pointer to the mail message to which the attachments belong.

Return Values

This function returns the total size of local files of attachments to a message.

Remarks

To get extended error information, call MailError or MailErrorMsg.