A mail sending implementation that captures sent messages to a variable.
This class is for running tests or for development.
Hierarchy
- class DefaultMailSystem implements MailSystemInterface
- class TestingMailSystem implements MailSystemInterface
Expanded class hierarchy of TestingMailSystem
File
- core/
modules/ system/ system.mail.inc, line 148 - Backdrop core implementations of MailSystemInterface.
Members
|
Name |
Modifiers | Type | Description |
|---|---|---|---|
|
DefaultMailSystem:: |
public | function |
Concatenate and wrap the email body for plain-text mails. Overrides MailSystemInterface:: |
|
DefaultMailSystem:: |
protected static | function | Disallows potentially unsafe shell characters. |
|
TestingMailSystem:: |
public | function |
Accept an email message and store it in a variable. Overrides DefaultMailSystem:: |