You are here

function Messaging_Mail_Method::send_address in Messaging 7

Send message to address

File

messaging_mail/messaging_mail.inc, line 49
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Mail_Method
Base class for mail sending methods

Code

function send_address($address, $message) {

  // Build the message in drupal mail format
  $mail = $this
    ->mail_build($address, $message);
  return $this
    ->mail_send($mail, $message);
}