PC MAPI: List of MAPI Error Codes (119647)



The information in this article applies to:

  • Microsoft Mail for Windows 3.0
  • Microsoft Mail for Windows 3.0b
  • Microsoft Mail for Windows 3.2

This article was previously published under Q119647

SUMMARY

While a MAPI application is running, it may return a numeric error code such as:
Application failed with MAPI Error #3
The following are the actual MAPI result codes (from the MAPI.H file) and the numbers they will return:
    Error                                 Number
   --------------------------------------------

   SUCCESS_SUCCESS                         0
   MAPI_USER_ABORT                         1
   MAPI_E_FAILURE                          2
   MAPI_E_LOGIN_FAILURE                    3
   MAPI_E_DISK_FULL                        4
   MAPI_E_INSUFFICIENT_MEMORY              5
   MAPI_E_ACCESS_DENIED                    6
   MAPI_E_TOO_MANY_SESSIONS                8
   MAPI_E_TOO_MANY_FILES                   9
   MAPI_E_TOO_MANY_RECIPIENTS             10
   MAPI_E_ATTACHMENT_NOT_FOUND            11
   MAPI_E_ATTACHMENT_OPEN_FAILURE         12
   MAPI_E_ATTACHMENT_WRITE_FAILURE        13
   MAPI_E_UNKNOWN_RECIPIENT               14
   MAPI_E_BAD_RECIPTYPE                   15
   MAPI_E_NO_MESSAGES                     16
   MAPI_E_INVALID_MESSAGE                 17
   MAPI_E_TEXT_TOO_LARGE                  18
   MAPI_E_INVALID_SESSION                 19
   MAPI_E_TYPE_NOT_SUPPORTED              20
   MAPI_E_AMBIGUOUS_RECIPIENT             21
   MAPI_E_MESSAGE_IN_USE                  22
   MAPI_E_NETWORK_FAILURE                 23
   MAPI_E_INVALID_EDITFIELDS              24
   MAPI_E_INVALID_RECIPS                  25
   MAPI_E_NOT_SUPPORTED                   26
				

Modification Type:MajorLast Reviewed:11/19/2003
Keywords:KB119647