Net_SMTP::helo

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

Synopsis

require_once 'NET/SMTP.php';

mixed Net_SMTP::helo ( string $domain )

Description

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

Parameter

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

throws no exceptions thrown

Note

This function can not be called statically.

Return a 2-tuple containing the last response from the SMTP server. (Previous) Backwards-compatibility method.identifySender()'s functionality is now handled internally. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.