The MailDelete function deletes a mail entry from the message store.
BOOL MailDelete (HANDLE hMail, MailMsg* pmm);
Header file: | Msgstore.h |
Platforms: | H/PC |
Versions: | 1.0 and later |
This function returns TRUE if successful; FALSE if it fails. To get extended error information, use MailError or MailErrorMsg.
If the entry cannot be found in the message store, the MailDelete function will fail.
For more information, see Inbox.