You are here

function Messaging_Send_Method::message_send in Messaging 6.3

Same name and namespace in other branches
  1. 6.4 includes/messaging_method.class.inc \Messaging_Send_Method::message_send()
  2. 7 messaging.method.inc \Messaging_Send_Method::message_send()

Send a message to a single destination

File

classes/messaging_method.class.inc, line 142
Drupal Messaging Framework - Send_Method class file

Class

Messaging_Send_Method
Sending method, implements all specific method functionality

Code

function message_send($message) {
  $message
    ->prepare();
  $message
    ->render();
  return $this
    ->send($message->destination, $message);
}