Scholar Repository
Home>Manual>The body of the message.

The body of the message.


SAMMessage->body

(PECL sam >= 0.1.0)

SAMMessage->bodyThe body of the message.

Description

string $body;

The "body" property contains the actual body of the message. It may not always be set.

Examples

Example #1 Setting a text string into the body of a message

<?php
$msg 
= new SAMMessage();
$msg->body 'This is a simple message';

?>

Home>Manual>The body of the message.