GetAttachCount

Attach level API

The GetAttachCount gets the number of attaches of the selected mail message.

 

Delphi syntax:

function GetAttachCount(Handle: TMailboxHandle; FolderNumber, MailNumber: dword):dword;
C++ syntax:
            DWORD WINAPI GetAttachCount (DWORD Handle, DWORD FolderNumber, DWORD MailNumber);

C# syntax:

public static extern int GetAttachCount(int boxHandle, int folderNumber, int MailNumber);

Parameters:

Handle

 Handle of previously opened mailbox.

FolderNumber

 Number of the folder with the mail.

MailNumber

 Specifies number of the mail message inside the folder.


Return Values:
Returns attach count inside mail message. If no attaches or error, returns 0.

 

See also:

OpenMailbox, GetFolderCount, GetFolderProp

 

Samples:

Abstract AIRMail SDK API call model

 

 

 

 

© AIRMail SDK Team 2005-2008, please contact as