The following is the MSDN provided help-page showing MAPI Control Error Messages. Buttt, they have not specified, in which property or from which method, we have to catch the runtime error(s). If you have hands-on-experience with MAPI control... plz reply me with your thinkings as solution for my problem. So, how do we catch runtime error(s) of MAPI control generally ?? I have got Error : 32002 on the "send" method call of MAPIMessage control. I have set msgIndex=-1 and "composed" a message with 32 files attachment, each of having size less than 100KB. This MAPI controls is workable for only "MS Outlook Express".
Error Messages, MAPI Controls
The following table lists the trappable errors for the MAPI controls.
Constant Value Description
mapSuccessSuccess 32000 Action returned successfully
mapUserAbort 32001 User canceled process- The current action was
not completed because the user canceled the
mapFailure 32002 Unspecified failure has occurred
- - An unspecified error occurred during the
current action. For example, the action was
unable to delete or address mail correctly.
mapLoginFail 32003 Login has failed