function MailSystemInterface::format
Format a message composed by drupal_mail() prior sending.
Parameters
$message: A message array, as described in hook_mail_alter().
Return value
The formatted $message.
2 methods override MailSystemInterface::format()
- DefaultMailSystem::format in modules/
system/ system.mail.inc - Concatenate and wrap the e-mail body for plain-text mails.
- MailTestCase::format in modules/
simpletest/ tests/ mail.test - Concatenate and wrap the e-mail body for plain-text mails.
File
-
includes/
mail.inc, line 313
Class
- MailSystemInterface
- An interface for pluggable mail back-ends.
Code
public function format(array $message);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.