You are here

function messaging_debug_send_user in Messaging 5

Just show message title to the user.

This is a pull method though, so this is mainly intended for testing options

1 call to messaging_debug_send_user()
messaging_message_send_user in ./messaging.module
Send message to user represented by account
2 string references to 'messaging_debug_send_user'
messaging_debug_messaging in messaging_debug/messaging_debug.module
Implementation of hook_messaging
messaging_message_send_user in ./messaging.module
Send message to user represented by account

File

messaging_debug/messaging_debug.module, line 100
Simple messaging using html page. Messaging method plug-in

Code

function messaging_debug_send_user($account, $message, $method = 'debug') {
  $info = messaging_method_info('debug');
  $destination = array(
    $account,
  );
  return messaging_message_send($destination, $message, $method);
}