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.

Parameter

string $data

The message body to send.

Return value

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

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Net_SMTP::connect (Previous) Net_SMTP::disconnect (Next)
Last updated: Tue, 02 Jun 2009 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.