Net_SMTP::helo() – Send the HELO command.


require_once 'NET/SMTP.php';

mixed Net_SMTP::helo ( string $domain )


Send the HELO command which is the first part of a mail-sending SMTP transaction where the Internet extender first tries to send mail.


string $domain

The domain name to say we are.

Return value

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


throws no exceptions thrown


This function can not be called statically.

Net_SMTP::getResponse (Previous) Net_SMTP::identifySender (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.