You are here

function mimemail_example_mail in Mime Mail 7

Same name and namespace in other branches
  1. 8 modules/mimemail_example/mimemail_example.module \mimemail_example_mail()

Implements hook_mail().

File

modules/mimemail_example/mimemail_example.module, line 38
Core and contrib hook implementations for Mime Mail Example module.

Code

function mimemail_example_mail($key, &$message, $params) {
  $message['subject'] = $params['subject'];
  $message['body'][] = $params['body'];
}