The MailOpen function opens the message store and obtains a handle to the mail context.
BOOL MailOpen (HANDLE * phNewMail, BOOL fAllowCreate,);
Header file: | Msgstore.h |
Platforms: | H/PC |
Versions: | 1.0 and later |
If this parameter is FALSE and the message store does not exist, MailOpen will fail.
This function returns TRUE if successful; FALSE if it fails. To get extended error information, call MailError or MailErrorMsg.
Release the handle created by the MailOpen function with the MailClose function.
For more information, see Inbox.