A mail sending implementation that captures sent messages to a variable.

This class is for running tests or for development.

Hierarchy

Expanded class hierarchy of TestingMailSystem

File

core/modules/system/system.mail.inc, line 151
Backdrop core implementations of MailSystemInterface.

Members

Contains filters are case sensitive
Namesort ascending Modifiers Type Description
TestingMailSystem::mail public function Accept an e-mail message and store it in a variable. Overrides DefaultMailSystem::mail
DefaultMailSystem::_isShellSafe protected static function Disallows potentially unsafe shell characters.
DefaultMailSystem::format public function Concatenate and wrap the e-mail body for plain-text mails. Overrides MailSystemInterface::format