Net_POP3::Net_POP3() (Previous) (Next) Net_POP3::deleteMsg()

View this page in Last updated: Sun, 28 Sep 2008
English | French | German | Hungarian | Japanese | Polish | Spanish | Plain HTML

Net_POP3::connect()

Net_POP3::connect() -- Connection to POP3 server

Description

Connects to the given host on the given port. Also looks for the timestamp in the greeting needed for APOP authentication.

Paramètres

  • string $host - Hostname/IP address to connect to

  • integer $port - Port to use to connect to on host

Valeur retournée

boolean - Renvoie TRUE en cas de succès, FALSE en cas d'échec.

Note

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

Net_POP3::Net_POP3() (Previous) (Next) Net_POP3::deleteMsg()

Download Documentation Last updated: Sun, 28 Sep 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: bortuzar@gmail.com
If you want to connect to a server with SSL use ssl:// before the POP3 Server Address.

Example:

$pop3 = new Net_POP3();
$strServerName = "ssl://mail.server.com";
$intPortNo = '995';
$pop3->connect($strServerName, $intPortNo);