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]]])

Beschreibung

Constructor,Instantiates a new Net_SMTP object.

Parameter

string $host

The server to connect to.

integer $port

The port to connect to.

string $localhost

The value to give when sending EHLO or HELO.

Fehler-Meldungen

throws no exceptions thrown

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.