PhpRiot
Become Zend Certified

Prepare for the ZCE exam using our quizzes (web or iPad/iPhone). More info...


When you're ready get 7.5% off your exam voucher using voucher CJQNOV23 at the Zend Store

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';

?>

PHP Manual