Important: The information in this document is obsolete and should not be used for new development.
Chapter 29 -
This chapter describes how to turn your application's documents into electronic mail using the PowerTalk support provided by MacApp. It includes recipes and sample code that demonstrate how to
Working With PowerTalk Mailers
MacApp's implementation of PowerTalk support is described in detail in "PowerTalk Mailers," beginning on page 192.
- add MacApp's PowerTalk support to your application
- define a document class that supports PowerTalk mailers
Chapter Contents
- Overview
- Recipes--PowerTalk Mailers
- Recipe--Adding PowerTalk Support to Your Application
- Build Your Application to Include MacApp's PowerTalk Support
- Include the Mail Menu in Your Application
- Initialize MacApp's Mailer Support
- Define an Application Subclass of TMailingApplication
- Decide Whether to Define a New Type for Letter Files
- Recipe--Adding Mailer Support to a Document Class
- Decide Which Mail Formats to Support
- Define a Subclass of TMailableDocument for Your Mailer Document
- Set the Document's fSendFormats Field
- Override Methods to Get and Set Mailer Data
- AddNativeMailContent, ReadNativeMailContent
- AddSnapshotMailContent, ImageDocumentForMailer, ReadSnapshotMailContent
- AddStandardMailContent, ReadStandardMailContent
- If Necessary, Override SetReplyContents
- If Necessary, Override MMailable::MakeRoomForMailer
- If Necessary, Override TLetter::OpenLetter