You are here

function messaging_mime_mail_send_msg in Messaging 6.4

Same name and namespace in other branches
  1. 5 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: Destination email address

$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 38
Mime mail using Drupal API. Messaging method plug-in

Code

function messaging_mime_mail_send_msg($destination, $message, $params) {

  // mimemail($sender, $recipient, $subject, $body, $plaintext = NULL, $headers = array(), $text = NULL, $attachments = array(), $mailkey = '')
  return mimemail($params['from'], $destination, $message
    ->get_subject(), $message
    ->get_body(), NULL, $params['headers'], NULL, $message
    ->get_files(), $params['id']);
}