class SimpleMailMailSystem in Simple Mail 7
@file SimpleMailMailSystem class definition.
Hierarchy
- class \DefaultMailSystem implements MailSystemInterface
- class \SimpleMailMailSystem
Expanded class hierarchy of SimpleMailMailSystem
1 string reference to 'SimpleMailMailSystem'
- simple_mail_enable in ./
simple_mail.install - Implements hook_enable().
File
- includes/
SimpleMailMailSystem.inc, line 8 - SimpleMailMailSystem class definition.
View source
class SimpleMailMailSystem extends DefaultMailSystem {
/**
* Format a message.
*/
public function format(array $message) {
$message['body'] = implode("\n\n", $message['body']);
$message['body'] = drupal_wrap_mail($message['body']);
return $message;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DefaultMailSystem:: |
public | function |
Send an e-mail message, using Drupal variables and default settings. Overrides MailSystemInterface:: |
1 |
DefaultMailSystem:: |
protected static | function | Disallows potentially unsafe shell characters. | |
SimpleMailMailSystem:: |
public | function |
Format a message. Overrides DefaultMailSystem:: |