EmailCallback::send_message
make sure to return TRUE as response if the message is sent successfully Sends a message from the current user to someone else in the networkd
Signature
public function send_message(
$to,
String
$message,
[string
$link = "",
[array
$otherVariables = ]] )
Parameters
$to
—
$message
—
object
- - Message you are sending
$link
—
string
- - Link to send with message - NOT USED IN EMAIL
$otherVariables
—
array
Returns
- Boolean
- - return TRUE as success
Defined by Interface
SocialIntegrationAPIInterface