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.

Paramètres

chaîne de caractères $domain

The domain name to say we are.

Valeur retournée

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

Valeurs renvoyées

throws no exceptions thrown

Note

Cette fonction ne peut pas être appelée de façon statique.