MAPI_E Error Name |
Code |
Description |
---|---|---|
SUCCESS_SUCCESS |
0 |
The call succeeded and the message was sent. |
MAPI_E_USER_ABORT |
1 |
The user canceled one of the dialog boxes. No message was sent. |
MAPI_E_FAILURE |
2 |
One or more unspecified errors occurred. No message was sent. |
MAPI_E_LOGIN_FAILURE |
3 |
There was no default logon, and the user failed to log on successfully when the logon dialog box was displayed. No message was sent. |
MAPI_E_INSUFFICIENT_MEMORY |
5 |
There was insufficient memory to proceed. No message was sent. |
MAPI_E_TOO_MANY_FILES |
9 |
There were too many file attachments. No message was sent. |
MAPI_E_TOO_MANY_RECIPIENTS |
10 |
There were too many recipients. No message was sent. |
MAPI_E_ATTACHMENT_NOT_FOUND |
11 |
The specified attachment was not found. No message was sent. |
MAPI_E_ATTACHMENT_OPEN_FAILURE |
12 |
The specified attachment could not be opened. No message was sent. |
MAPI_E_UNKNOWN_RECIPIENT |
14 |
A recipient did not appear in the address list. No message was sent. |
MAPI_E_BAD_RECIPTYPE |
15 |
The type of a recipient was not MAPI_TO, MAPI_CC, or MAPI_BCC. No message was sent. |
MAPI_E_TEXT_TOO_LARGE |
18 |
The text in the message was too large. No message was sent. |
MAPI_E_AMBIGUOUS_RECIPIENT |
21 |
A recipient matched more than one of the recipient descriptor structures and MAPI_DIALOG was not set. No message was sent. |
MAPI_E_INVALID_RECIPS |
25 |
One or more recipients were invalid or did not resolve to any address. |
MAPI_E_UNICODE_NOT_SUPPORTED |
27 |
The MAPI_FORCE_UNICODE flag is specified and Unicode is not supported. Note that this value can be returned only if MAPISendMailW is called to send the message. |