Platform SDK: MAPI |
Being able to add a Send command to a document-based application's File menu is a Microsoft Windows 95 logo requirement. The same logic applies to sending a message from any application.
1. Open the default message store. See Opening a Message Store.
2. Open the Outbox. See Opening a Folder. 3. Add recipients to the message's recipient table. See Recipients. 4. Add the document to the message as an attachment. See Attachments. 5. Optionally, add text to the message. See PR_BODY. 6. Send the message. See Sending Messages with MAPI. 7. Release all the objects created in the preceding steps. |
See the following topics: