Net_SMTP::data()

Net_SMTP::data() -- Send the DATA command to start message body

Synopsis

require_once 'NET/SMTP.php';

mixedNet_SMTP::data (string $data)

Description

This function sends the message body with the DATA command and terminates the message session.

Paramètres

chaîne de caractères $data

The message body to send.

Valeur retournée

returns Returns a PEAR_Error with an error message on any kind of failure, or true on success.

Valeurs renvoyées

throws no exceptions thrown

Note

Cette fonction ne peut pas être appelée de façon statique.