Portal Home > Knowledgebase > Articles Database > php + imap_open error ?


php + imap_open error ?




Posted by map007, 10-06-2008, 07:19 AM
Hi, I am getting the following error :--> imap_open(): Couldn't open stream {localhost:143/imap/notls} How can i check imap_open is enable or not because i have already install on the server but when i check phpinfo.php file , its not there so please guide me how can i resolve it. "telnet localhost 143 " its working fine without any problem. Thank you.

Posted by david510, 10-06-2008, 08:07 AM
Use the following php script to check the imap_open function.

Posted by map007, 10-06-2008, 09:31 AM
Hi, I got the following error :--> Warning: imap_open() [function.imap-open]: Couldn't open stream {localhost/pop3:110}INBOX in /home/domain/public_html/mail/phpmail.php on line 2 Warning: imap_check(): supplied argument is not a valid imap resource in /home/domain/public_html/mail/phpmail.php on line 4 Number of messages :

Posted by map007, 10-06-2008, 11:40 AM
Hi, I got another error on Imap --> LANG_ERROR_UNABLE_TO_OPEN_MAILBOX localhost:143: Unable to create selectable TCP socket (5256 >= 1024)

Posted by mellow-h, 10-06-2008, 04:49 PM
You error is detecting your IMAP is not running on the default port 143. Check and verify again whether your IMAP is running or not. Most likely it is not running.

Posted by map007, 10-07-2008, 12:24 AM
Hi, I have checked "telnet localhost 143" its working perfectly that i have mentioned in previous reply.so please give solution ...... Thank you.

Posted by map007, 10-08-2008, 05:23 AM
Hi, I want to add php_imap.so file can any one guide me from where i can download it.I'm using RHEL5.2 with WHM. Thank you.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read