SAMMessage::body

(PECL sam >= 0.1.0)

SAMMessage::body The body of the message.

Description

string $SAMMessage->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';

?>