function multiple_email_send_confirmation in Multiple E-mail Addresses 7
Same name and namespace in other branches
- 5 multiple_email.module \multiple_email_send_confirmation()
- 6 multiple_email.module \multiple_email_send_confirmation()
- 2.x multiple_email.module \multiple_email_send_confirmation()
Sends the confirmation e-mail for the specified address to the specified user account.
Parameters
object $account:
object $email:
5 calls to multiple_email_send_confirmation()
- multiple_email_confirm_form_validate in ./
multiple_email_confirm_page.inc - @todo Please document this function.
- multiple_email_confirm_page_resend_submit in ./
multiple_email_confirm_page.inc - Callback for resending a confirmation email.
- multiple_email_edit_form_submit in ./
multiple_email_edit_page.inc - Processes form submission of multiple_email_edit_form
- multiple_email_manage_submit in ./
multiple_email_manage.inc - Handle submission of multiple_email_manage_form.
- multiple_email_user_update in ./
multiple_email.module - Implements hook_user_update().
File
- ./
multiple_email.module, line 626 - multiple_email module file
Code
function multiple_email_send_confirmation($account, $email) {
global $language;
$params = array(
'headers' => array(),
'subject' => multiple_email_message_part('subject', 'confirmation', $account, $email),
'body' => multiple_email_message_part('body', 'confirmation', $account, $email),
);
$from = variable_get('site_mail', ini_get('sendmail_from'));
drupal_mail('multiple_email', 'confirmation', $email->email, $language, $params, $from);
}