Cicode Programming Reference > Cicode Errors > MAPI Errors

MAPI Errors

The table below describes the MAPI errors in Cicode.

Error number

Error title

Description

0

SUCCESS_SUCCESS

The command completed successfully.

1

MAPI_USER_ABORT

The command was aborted by the user.

2

MAPI_E_FAILURE

General MAPI error.

3

MAPI_E_LOGIN_FAILURE

The login did not succeed, either the login user is unknown, misspelt, or the password is incorrect.

4

MAPI_E_DISK_FULL

The disk is full. The mail system will copy files into the temporary directory when mail is read. This can fill up the local hard disk.

5

MAPI_E_INSUFFICIENT_MEMORY

Insufficient memory to complete the command.

6

MAPI_E_ACCESS_DENIED

More privilege is required to complete the requested command.

8

MAPI_E_TOO_MANY_SESSIONS

You have tried to open too many sessions to the mail system.

9

MAPI_E_TOO_MANY_FILES

Too many attached files in a message.

10

MAPI_E_TOO_MANY_RECIPIENTS

Too many recipients for a mail message.

11

MAPI_E_ATTACHMENT_NOT_FOUND

Cannot find the attached file.

12

MAPI_E_ATTACHMENT_OPEN_FAILURE

Cannot open the specified attached file. Often because the file does not exist.

13

MAPI_E_ATTACHMENT_WRITE_FAILURE

Cannot write the attached file.

14

MAPI_E_UNKNOWN_RECIPIENT

Recipient of the mail message is unknown. Check if the user is configured in the mail system or check the spelling of the user's name.

15

MAPI_E_BAD_RECIPTYPE

Unknown recipient type.

16

MAPI_E_NO_MESSAGES

No new messages to read.

17

MAPI_E_INVALID_MESSAGE

The mail message is invalid.

18

MAPI_E_TEXT_TOO_LARGE

Text message is too large to be sent. If you want to send large text messages, write the text to a file and attach the file to the mail message.

19

MAPI_E_INVALID_SESSION

Mail session is invalid. You should not get this error message; contact Technical Support for this product.

20

MAPI_E_TYPE_NOT_SUPPORTED

You should not get this error message; contact Technical Support for this product.

21

MAPI_E_AMBIGUOUS_RECIPIENT

The recipient of the mail message is ambiguous. Specify the exact user name to which the mail is to be sent.

22

MAPI_E_MESSAGE_IN_USE

Mail message is in use. You should not get this error message: contact Technical Support for this product.

23

MAPI_E_NETWORK_FAILURE

Mail cannot be sent or received as the network has experienced an error.

24

MAPI_E_INVALID_EDITFIELDS

You should not get this error message; contact Technical Support for this product.

25

MAPI_E_INVALID_RECIPS

You should not get this error message; contact Technical Support for this product.

26

MAPI_E_NOT_SUPPORTED

Command is not supported by this implementation of MAPI.