SAMConnection->unsubscribe
SAMMessage->__construct
SAM Functions
PHP Manual

# SAMMessage->body

(PECL sam >= 0.1.0)

SAMMessage->body — The body of the message.

### Descripción

SAMMessage
string $nody;

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

### Ejemplos

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

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

### Ver también

- SAMMessage->header

SAMConnection->unsubscribe
SAMMessage->__construct
SAM Functions
PHP Manual