W3cubDocs

/Drupal 8

interface MailInterface

Defines an interface for pluggable mail back-ends.

Hierarchy

See also

\Drupal\Core\Annotation\Mail

\Drupal\Core\Mail\MailManager

Plugin API

File

core/lib/Drupal/Core/Mail/MailInterface.php, line 12

Namespace

Drupal\Core\Mail

Members

Name Modifiers Type Description
MailInterface::format public function Formats a message prior to sending.
MailInterface::mail public function Sends a message composed by \Drupal\Core\Mail\MailManagerInterface->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/core!lib!Drupal!Core!Mail!MailInterface.php/interface/MailInterface/8.1.x