Error Codes and Messages for MAPISession

Official Content
This documentation is valid for:
Code Message
0 Ok
1 Already logged in
2 Not logged in
3 Could not complete login
5 Could not open folder
10 Could not send message
11 No messages to receive
13 No main recipient specified
14 Invalid recipient
15 Invalid attachment
16 Could not save attachment
22 Error receiving message
26 No current message
27 Invalid NewMessages value
28 Invalid EditWindow value

See Also

MAPISession Data Type