The base class of the mailing system.

Overview of methods

Method Meaning of
public static getConfig(
) : Mailing_Config
Returns an instance of the configuration definition.
public static getBackend(
) : Mailing_Backend_Abstract
Returns an instance of the backend for sending emails.
If the optional backend is not set (see the setBackend method), then it returns an instance of Mailing_Backend_Default.
public static setBackend(
Mailing_Backend_Abstract $backend
) : void
Sets up an optional backend for sending emails.
public static sendEmail(
Mailing_Email $email
) : bool
Sends a email
Previous chapter
Sending emails
Next chapter