Dear all,
I\'ve developed a web-based email system with PHP.
<?php
$stream=imap_open(\"{x.x.x.x:143}INBOX\",\"username\",\"password\");
echo imap_last_error();
imap_close($stream);
?>
When I called the imap_open(), error message occur :
\"Couldn\'t open stream {x.x.x.x:143}INBOX in /abc.php on line xx \"
And return error message from imap_last_error function :
\"Can\'t connect to x.x.x.x,143: No such file or directory\"
Configuration of my system :
Web server - iplanet 4.1 comiple with PHP modules
OS - Solaris 7
PHP - PHP4.0.2
IMAP- IMAP4.7c
At phpinfo page, I can read the information of IMAP -
IMAP support - enabled
IMAP c-client Version - 4.1
Please help !!
Many Many thanks
The error log :
[11/Sep/2000:12:13:16] info ( 9717): Loading Simple Session Manager by default. Specify MMapSessionManager in servlets.properties to load persistent session manager
[11/Sep/2000:12:13:16] info ( 9717): SimpleSessionManager: Default values for maximum number of sessions is 1000 with a time out value of 1800 seconds
[11/Sep/2000:12:13:16] info ( 9717): SimpleSessionManager: Maximum number of sessions (1000) with a time out value of (1800) seconds