The MailUpdate function replaces an entry in the message store with updated information.
BOOL MailUpdate (HANDLE hMail, MailMsg* pmm, BOOL fDoAll);
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.
The entry being updated is based on the oid member of the MailMsg structure. If the entry does not exist in the database, the MailUpdate function fails.
For more information, see Inbox.