previousNet_SMTP::connect (Previous) (Next) Net_SMTP::disconnectnext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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.

previousNet_SMTP::connect (Previous) (Next) Net_SMTP::disconnectnext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.