The NetMapiErrorCode enumeration contains codes of the errors that may occur on email message sending using the application installed in the operating system as a default mail client.
It is used by the following property:
| Value | Brief description |
| 0 | Success. Successful delivery. |
| 1 | UserAbort. User access denied. |
| 2 | Failure. MAPI general fault. |
| 3 | LoginFailure. MAPI connection failure. |
| 4 | DiskFull. Disk overflow. |
| 5 | InsufficientMemory. Insufficient memory. |
| 6 | AccessDenied. Access denied. |
| 8 | TooManySessions. Too many connection sessions. |
| 9 | TooManyFile. Too many files in the attachment. |
| 10 | TooManyRecipients. Too many recipient addresses. |
| 11 | AttachmentNotFound. The attachment is not found. |
| 12 | AttachmentOpenFailure. Attachment opening error. |
| 13 | AttachmentWriteFailure. Attachment recording error. |
| 14 | UnknownRecipient. Unknown recipient address. |
| 15 | BadRecipType. Incorrect recipient address. |
| 16 | NoMessages. No messages. |
| 17 | InvalidMessage. Incorrect message. |
| 18 | TextTooLarge. Message text is too large. |
| 19 | InvalidSession. Incorrect connection. |
| 20 | TypeNotSupported. The type is not supported. |
| 21 | AmbigiousRecipient. Ambiguous recipient specification. |
| 22 | MessageInUse. The message is in use. |
| 23 | NetworkFailure. Network failure. |
| 24 | InvalidEditFields. Incorrect editing areas. |
| 25 | InvalidRecipients. Incorrect recipients. |
| 26 | NotSupported. Unsupported. |
| 101 | LoadFailed. Message loading error. |
| 102 | InvalidDll. |
| 03 | InvalidTo. Message recipients addresses are incorrect. |
| 104 | InvalidCc. Message copy recipients addresses are incorrect. |
| 105 | InvalidAttach. Incorrect attachment. |
| 106 | NoMessage. No message. |
| 107 | SendFailed. Sending message error. |
See also: