You are here

function messaging_mime_mail_send_msg in Messaging 5

Same name and namespace in other branches
  1. 6.4 messaging_mime_mail/messaging_mime_mail.module \messaging_mime_mail_send_msg()
  2. 6 messaging_mime_mail/messaging_mime_mail.module \messaging_mime_mail_send_msg()
  3. 6.2 messaging_mime_mail/messaging_mime_mail.module \messaging_mime_mail_send_msg()
  4. 6.3 messaging_mime_mail/messaging_mime_mail.module \messaging_mime_mail_send_msg()

Send mime mail message to user account

Parameters

$destination: Array of e-mails

$message: Message array

1 string reference to 'messaging_mime_mail_send_msg'
messaging_mime_mail_messaging in messaging_mime_mail/messaging_mime_mail.module
Implementation of hook_messaging

File

messaging_mime_mail/messaging_mime_mail.module, line 34
Mime mail using Drupal API. Messaging method plug-in

Code

function messaging_mime_mail_send_msg($destination, $message, $params = array()) {
  $params = messaging_mail_params($message, $params);
  return mimemail($params['from'], $destination, $message['subject'], $message['body'], NULL, $params['headers'], NULL, array(), $params['mailkey']);
}