Steve,
You should be able to put code in the Error() method of the MAPIMessage object. It's somewhat limited in what you can actually trap/prevent though.
>MAPIMessage have constant trappable error messages. Such as
>
>Constant Value Description
>--------------------------------------------------------------------
>mapUserAbort 32001 User canceled process
>
>How could you trap this and other errors from MAPI within Visual Foxpro 5.0? Any help is appreciated.