MailClose

The MailClose function releases the handle to the current mail context.

Syntax

BOOL MailClose (HANDLE hMail);

At a Glance

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

Parameters

hMail
Handle to the mail context to be released. This handle is created by the MailOpen function.

Return Values

This function returns TRUE if successful; FALSE if it fails. To get extended error information, use MailError or MailErrorMsg.

Remarks

For more information, see Inbox.

See Also

MailOpen