OpenMailbox

Mailbox level API

OpenMailbox opens a mailbox file. If the mailbox type is not supported, OpenMailbox returns error code.

 

Delphi syntax:

function OpenMailbox(FileName: LPCTSTR): dword;

C++ syntax:

DWORD WINAPI OpenMailbox(LPCTSTR FileName);

C# syntax:

static extern int OpenMailbox(String fileName);

 

Parameters:

FileName

 Points to a null-terminated string, is the path to the mailbox file to open.

 

 

Return Values:

Returns a handle of opened mailbox file or an error code if fails. 

 

Remarks:

 

Samples:

Abstract AIRMail SDK API call model

Delphi sample

C# sample

C++ sample

 

 

 

 

           © AIRMail SDK Team 2005-2008, please contact as