You are here

public function UserImportMailSystem::format in User Import 7.2

Same name and namespace in other branches
  1. 7.3 user_import.module \UserImportMailSystem::format()

Concatenate and wrap the e-mail body.

Parameters

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

Return value

The formatted $message.

Overrides MailSystemInterface::format

File

./user_import.module, line 915
Import or update users with data from a comma separated file (csv).

Class

UserImportMailSystem
Modify the drupal mail system to send HTML emails.

Code

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