constructor Net_SMTP::Net_SMTP()

constructor Net_SMTP::Net_SMTP() -- Instantiates a new Net_SMTP object, overriding any networkings with parameters that are passed in.

Synopsis

require_once 'NET/SMTP.php';

void constructor Net_SMTP::Net_SMTP ([string $host = NULL [, int $port = NULL [, string $localhost = NULL]]])

Description

Constructor,Instantiates a new Net_SMTP object.

Paramètres

chaîne de caractères $host

The server to connect to.

entier $port

The port to connect to.

chaîne de caractères $localhost

The value to give when sending EHLO or HELO.

Valeurs renvoyées

throws no exceptions thrown

Note

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