RE: [PHP] need your help
| From: | Martin Towell | Date: | Thu, 18 Apr 2002 05:01:37 +0000 |
| Subject: | RE: [PHP] need your help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-93481@lists.php.net to get a copy of this message | ||
is this a local server you're connecting to (as in, on the same machine as
the script)
if it is, then the ip address would prob. need to be "127.0.0.1" and not
"172.0.0.1"
-----Original Message-----
From: Waty [mailto:waty@vlifestyle.com]
Sent: Thursday, April 18, 2002 1:29 PM
To: php-general@lists.php.net
Subject: [PHP] need your help
Hi,
i got error when open the imap:
my code :
$mail_server = "172.0.0.1";
$mail_port = "143";
$utg_box =1;
$mail_id = "username";
$mail_pass = "password";
$open_mail_box = "{".$mail_server.":".$mail_port."}INBOX.".$utf_box;
$mbox = imap_open($open_mail_box, $mail_id, $mail_pass);
error:
Couldn't open stream {172.0.0.1:143}INBOX.1
Please help.... thanks a lot
Regards
Waty