Jet\Mailing_Backend_Abstract

A very simple (actually primitive :-) ) abstract class defining the interface for the backend that takes care of actually sending the message.

Overview of methods

Method Meaning of
public sendEmail(
Mailing_Email $email
) : bool
Sends the given e-mail and returns true on success.
public prepareMessage(
Mailing_Email $email,
?string &$message,
?string &$header
) : void
Compiles the actual email to send. That is, it assembles its body and prepares the necessary SMTP headers. Both values (message body and header) are returned as references.
Previous chapter
Jet\Mailing_Config_Sender
Next chapter
Jet\Mailing_Backend_Default