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

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

Net_POP3::connect()

Net_POP3::connect() -- POP3 サーバに接続する

説明

指定したホストの指定したポートに接続します。 また、APOP 認証に必要なタイムスタンプも取得します。

パラメータ

  • string $host - 接続するホスト名/IP アドレス。 to

  • integer $port - 接続に使用するポート。 host

返り値

boolean - 成功時には TRUE 、 失敗時には FALSE を返します。

注意

この関数は、スタティックにコールする ことはできません。

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

Download Documentation Last updated: Sun, 07 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);