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)

Beschreibung

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

Parameter

string $data

The message body to send.

Rückgabewert

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

Fehler-Meldungen

throws no exceptions thrown

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.