Copyright: MAPI Component Help


MAPI Component: Overview

This component adds MAPI support to your application. The MAPI option in AppWizard provides similar functionality.

Your application must have at least one CDocument-derived class to use this component. This component can only be applied once for each CDocument-derived class in your project.

For more information about MAPI, please consult the MAPI document in the MAPI Form Architecture Book.

MAPI Component: Specifics

MAPI Component: Results


MAPI Component: Specifics

This component adds message map entries for ID_SEND_MAIL. ID_SEND_MAIL is a standard message ID used by MFC for sending mail through MAPI.


MAPI Component: Results

Message map entries are created to use the ID_SEND_MAIL message to manipulate MFC Send Mail functionality.

To finish adding MAPI support, see the “TODO” comments in the InitInstance function of your application.


MAPI Class Parameters

If your project contains more than one document class, choose which class you want to handle the Send Mail message. Only document windows can send mail.