You are here

function webform_mail in Webform 6.3

Same name and namespace in other branches
  1. 8.5 webform.module \webform_mail()
  2. 6.2 webform.module \webform_mail()
  3. 7.4 webform.module \webform_mail()
  4. 7.3 webform.module \webform_mail()
  5. 6.x webform.module \webform_mail()

Implements hook_mail().

2 string references to 'webform_mail'
webform_email_edit_form in includes/webform.emails.inc
Form for configuring an e-mail setting and template.
webform_submission_send_mail in includes/webform.submissions.inc
Send related e-mails related to a submission.

File

./webform.module, line 1554

Code

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