PHP 4.0 Bug #9167: imap_status()
| From: | tlb at rapanden dot dk | Date: | Wed, 07 Feb 2001 22:18:24 +0000 |
| Subject: | PHP 4.0 Bug #9167: imap_status() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45996@lists.php.net to get a copy of this message | ||
From: tlb@rapanden.dk
Operating system: Linux 2.2.17
PHP version: 4.0.4pl1
PHP Bug Type: IMAP related
Bug description: imap_status()
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
--
Edit Bug report at: http://bugs.php.net/?id=9167&edit=1