Understanding PeopleSoft MultiChannel Framework Mail Classes

This section provides an overview of the PeopleSoft MultiChannel Framework Mail Classes and discusses their scope and data types.

The PT_MCF_MAIL application package contains the following classes:

  • MCFBodyPart

  • MCFEmail

  • MCFGetMail

  • MCFHeaders

  • MCFInboundEmail

  • MCFMailStore

  • MCFMultiPart

  • MCFMailUtil

  • MCFOutboundEmail

  • MCFPart

  • SMTPSession

Use the mail classes to develop applications to create and send emails, fetch and delete emails on the mail server, manage emails in your PeopleSoft database, and access attachments . By using the mail classes, you are not required to know the details of the GETMAILTARGET connector or the database schema.

The mail classes can be instantiated only from PeopleCode.

The mail classes can be called from a component, an internet script, or a Application Engine program.

Mail classes can be of local, global, or component scope.

Every mail class is its own data type; that is, get mail objects are declared as data type MCFGetMail, store mail objects are declared as type MCFMailStore, and so on.

The following are the data types of the mail classes:

  • MCFBodyPart

  • MCFEmail

  • MCFGetMail

  • MCFHeaders

  • MCFInboundEmail

  • MCFMailStore

  • MCFMailUtil

  • MCFMultiPart

  • MCFOutboundEmail

  • MCFPart

  • SMTPSession