Net_SMTP::connect()

Net_SMTP::connect() -- Attempt to connect to the SMTP server.

Synopsis

require_once 'NET/SMTP.php';

mixed Net_SMTP::connect ([int $timeout = NULL])

Beschreibung

Attempt to establish a connection with the SMTP server

Parameter

integer $timeout

The timeout value (in seconds) for thesocket connection.

Rückgabewert

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

Fehler-Meldungen

throws no exceptions thrown

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.