Manuel Pear

Net_SMTP::connect()

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

Synopsis

  1. <?php
  2. require_once 'NET/SMTP.php
  3. ?> 

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

Description

Attempt to establish a connection with the SMTP server

Paramètres

entier $timeout

The timeout value (in seconds) for thesocket connection.

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.


Remonter Remonter
L'éditeur javascript - CSS - Gentoo - Tutoriaux PHP - Tutoriels PHP - Bretagne - php - Moto - Kit graphique