function messaging_phpmailer_send_msg in Messaging 5
Same name and namespace in other branches
- 6.4 messaging_phpmailer/messaging_phpmailer.module \messaging_phpmailer_send_msg()
- 6 messaging_phpmailer/messaging_phpmailer.module \messaging_phpmailer_send_msg()
- 6.2 messaging_phpmailer/messaging_phpmailer.module \messaging_phpmailer_send_msg()
- 6.3 messaging_phpmailer/messaging_phpmailer.module \messaging_phpmailer_send_msg()
Send mail message to user account. Supports bulk sending
Parameters
$destination: Single email address
$message: Message array
1 string reference to 'messaging_phpmailer_send_msg'
- messaging_phpmailer_messaging in messaging_phpmailer/
messaging_phpmailer.module - Implementation of hook_messaging
File
- messaging_phpmailer/
messaging_phpmailer.module, line 36 - HTML Mail using PHPMailer. Messaging method plug-in.
Code
function messaging_phpmailer_send_msg($destination, $message, $params = array()) {
$params = messaging_mail_params($message, $params);
return messaging_phpmailer_drupal_mail($params['mailkey'], $destination, $message['subject'], $message['body'], $params['from'], $params['headers']);
}