function webform_mail in Webform 7.3
Same name and namespace in other branches
- 8.5 webform.module \webform_mail()
 - 6.3 webform.module \webform_mail()
 - 6.2 webform.module \webform_mail()
 - 7.4 webform.module \webform_mail()
 - 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 1717  - This module provides a simple way to create forms and questionnaires.
 
Code
function webform_mail($key, &$message, $params) {
  $message['headers'] = array_merge($message['headers'], $params['headers']);
  $message['subject'] = $params['subject'];
  $message['body'][] = $params['message'];
}