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:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 1:29 PM
To: [EMAIL PROTECTED]
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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to