You are here

public function SimpleMailMailSystem::format in Simple Mail 7

Format a message.

Overrides DefaultMailSystem::format

File

includes/SimpleMailMailSystem.inc, line 12
SimpleMailMailSystem class definition.

Class

SimpleMailMailSystem
@file SimpleMailMailSystem class definition.

Code

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