You are here

function messaging_mail_send_msg in Messaging 6.2

Same name and namespace in other branches
  1. 5 messaging_mail/messaging_mail.module \messaging_mail_send_msg()
  2. 6.4 messaging_mail/messaging_mail.module \messaging_mail_send_msg()
  3. 6 messaging_mail/messaging_mail.module \messaging_mail_send_msg()
  4. 6.3 messaging_mail/messaging_mail.module \messaging_mail_send_msg()

Send mail message to user account

This is a callback function that will be invoked from messaging delivery methods

Parameters

$destination: Single email address

$message: Message array

$params: Optional parameters for this method type

See also

messaging_message_send()

drupal_mail()

1 string reference to 'messaging_mail_send_msg'
messaging_mail_messaging in messaging_mail/messaging_mail.module
Implementation of hook_messaging()

File

messaging_mail/messaging_mail.module, line 58
Simple mail using Drupal API. Messaging method plug-in

Code

function messaging_mail_send_msg($destination, $message, $params = array()) {
  $mail = messaging_mail_prepare($destination, $message, $params);
  return drupal_mail_send($mail);
}