function user_mail
7.x user.module | user_mail($key, &$message, $params) |
6.x user.module | user_mail($key, &$message, $params) |
Implementation of hook_mail().
2 string references to 'user_mail'
- contact_mail in drupal-6.x/
modules/ contact/ contact.module - Implementation of hook_mail().
- contact_mail_user_submit in drupal-6.x/
modules/ contact/ contact.pages.inc - Process the personal contact page form submission.
File
- drupal-6.x/
modules/ user/ user.module, line 1693 - Enables the user registration and login system.
Code
function user_mail($key, &$message, $params) {
$language = $message['language'];
$variables = user_mail_tokens($params['account'], $language);
$message['subject'] .= _user_mail_text($key . '_subject', $language, $variables);
$message['body'][] = _user_mail_text($key . '_body', $language, $variables);
}