[PHP-DEV] PHP 4.0 Bug #9167 Updated: imap_status()
ID: 9167 Updated by: chagenbu Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IMAP related Assigned To: Comments: I remember this problem being solved by putting a valid entry for localhost into /etc/hosts on the machine in question. Do you have an entry, and if not, does adding one fix the problem? Previous Comments: --- [2001-02-07 17:18:24] [EMAIL PROTECTED] This works: $mbox = imap_open ("{rapanden.dk:143}", "$login", "$passwd", OP_HALFOPEN); $status = imap_status($mbox,"{rapanden.dk:143}INBOX",SA_MESSAGES); and this dos'nt: $mbox = imap_open ("{localhost:143}", "$login", "$passwd", OP_HALFOPEN); $status = imap_status($mbox,"{localhost:143}INBOX",SA_MESSAGES); The problem is that imap_status will only accept the machine name, even if I use mail.rapanden.dk that points to the same ip as rapanden.dk it won't work. I found another description of the problem here: http://faqchest.dynhost.com/prgm/imp-l/imp-00/imp-0012/imp-001206/imp00121423_34248.html Troels Liebe Bentsen --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9167edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9167 Updated: imap_status()
ID: 9167 User Update by: [EMAIL PROTECTED] Status: Open Bug Type: IMAP related Description: imap_status() Here is my current: 127.0.0.1 localhost.rapanden.dk localhost And no it does not fix the problem. Previous Comments: --- [2001-02-07 17:29:08] [EMAIL PROTECTED] I remember this problem being solved by putting a valid entry for localhost into /etc/hosts on the machine in question. Do you have an entry, and if not, does adding one fix the problem? --- [2001-02-07 17:18:24] [EMAIL PROTECTED] This works: $mbox = imap_open ("{rapanden.dk:143}", "$login", "$passwd", OP_HALFOPEN); $status = imap_status($mbox,"{rapanden.dk:143}INBOX",SA_MESSAGES); and this dos'nt: $mbox = imap_open ("{localhost:143}", "$login", "$passwd", OP_HALFOPEN); $status = imap_status($mbox,"{localhost:143}INBOX",SA_MESSAGES); The problem is that imap_status will only accept the machine name, even if I use mail.rapanden.dk that points to the same ip as rapanden.dk it won't work. I found another description of the problem here: http://faqchest.dynhost.com/prgm/imp-l/imp-00/imp-0012/imp-001206/imp00121423_34248.html Troels Liebe Bentsen --- Full Bug description available at: http://bugs.php.net/?id=9167 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] PHP 4.0 Bug #9167 Updated: imap_status()
ID: 9167 Updated by: avsm Reported By: [EMAIL PROTECTED] Old-Status: Open Status: Feedback Bug Type: IMAP related Assigned To: Comments: This bug should be fixed in php-4.0.5-dev. Try getting a snapshot from http://snaps.php.net and upgrading your copy of PHP, and try again. The relevant commit was: http://cvs.php.net/viewcvs.cgi/php4/ext/imap/php_imap.c.diff?r1=1.52r2=1.53 Previous Comments: --- [2001-02-07 17:40:50] [EMAIL PROTECTED] Here is my current: 127.0.0.1 localhost.rapanden.dk localhost And no it does not fix the problem. --- [2001-02-07 17:29:08] [EMAIL PROTECTED] I remember this problem being solved by putting a valid entry for localhost into /etc/hosts on the machine in question. Do you have an entry, and if not, does adding one fix the problem? --- [2001-02-07 17:18:24] [EMAIL PROTECTED] This works: $mbox = imap_open ("{rapanden.dk:143}", "$login", "$passwd", OP_HALFOPEN); $status = imap_status($mbox,"{rapanden.dk:143}INBOX",SA_MESSAGES); and this dos'nt: $mbox = imap_open ("{localhost:143}", "$login", "$passwd", OP_HALFOPEN); $status = imap_status($mbox,"{localhost:143}INBOX",SA_MESSAGES); The problem is that imap_status will only accept the machine name, even if I use mail.rapanden.dk that points to the same ip as rapanden.dk it won't work. I found another description of the problem here: http://faqchest.dynhost.com/prgm/imp-l/imp-00/imp-0012/imp-001206/imp00121423_34248.html Troels Liebe Bentsen --- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9167edit=2 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]