The MailErrorMsg function retrieves the last occurrence of a mail error condition, fills a text string with a description of the error, and sets a pointer to the line number where the error occurred.
int MailErrorMsg (HANDLE hMail , LPWSTR szBuffer, int iBuffLen , int* piSrcLine);
Header file: | Msgstore.h |
Platforms: | H/PC |
Versions: | 1.0 and later |
This function returns the value of the last error code as an integer.
The MailErrorMsg function operates with the same behavior as the MailError function with the exception of the additional information it provides.
For more information, see Inbox.