You are here

public function UbercartMailSystem::format in Ubercart 7.3

Concatenates and wraps the e-mail body for plain-text mails.

Parameters

$message: A message array, as described in hook_mail_alter().

Return value

The formatted $message.

Overrides DefaultMailSystem::format

File

uc_store/classes/mail.inc, line 22
Utility class definition.

Class

UbercartMailSystem
Modifies the Drupal mail system to send HTML emails.

Code

public function format(array $message) {
  $message['body'] = implode("\n\n", $message['body']);
  return $message;
}