class TestingMailSystem

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

modules/system/system.mail.inc, line 119
Drupal core implementations of MailSystemInterface.

Members

Name Modifiers Type Description
DefaultMailSystem::format public function Concatenate and wrap the e-mail body for plain-text mails. Overrides MailSystemInterface::format
TestingMailSystem::mail public function Accept an e-mail message and store it in a variable. Overrides DefaultMailSystem::mail

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.mail.inc/class/TestingMailSystem/7.x