Previous Book Contents Book Index Next

Inside Macintosh: Programmer's Guide to MacApp / Part 2 - Working With MacApp

Chapter 29 -
Working With PowerTalk Mailers

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

MacApp's implementation of PowerTalk support is described in detail in "PowerTalk Mailers," beginning on page 192.

Chapter Contents
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

Previous Book Contents Book Index Next

© Apple Computer, Inc.
25 JUL 1996