Bug #16781 Updated: imap support doesn'r work fine
| From: | sniper@php.net | Date: | Sun, 16 Jun 2002 04:14:14 +0000 |
| Subject: | Bug #16781 Updated: imap support doesn'r work fine | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-10553@lists.php.net to get a copy of this message | ||
ID: 16781
Updated by: sniper@php.net
Reported By: newton@islu.irk.ru
-Status: Open
+Status: Bogus
Bug Type: IMAP related
Operating System: Linux RedHat 7.2
PHP Version: 4.2.0
New Comment:
PHP just shows the information it gets with the c-client
functions. So please report this to the c-client author.
Previous Comments:
------------------------------------------------------------------------
[2002-04-24 23:16:39] newton@islu.irk.ru
PHP or c-client is marking all messages as recent even if they are
absolutely new. imap_headers is returning an empty array so how can I
access headers of messages?
------------------------------------------------------------------------
[2002-04-24 23:14:57] newton@islu.irk.ru
object(stdClass)(5) {
["Date"]=>
string(37) "Wed, 24 Apr 2002 23:15:37 -0400 (EDT)"
["Driver"]=>
string(4) "pop3"
["Mailbox"]=>
string(53) "{localhost.localdomain:110/pop3/user="lyubvine"}INBOX"
["Nmsgs"]=>
int(0)
["Recent"]=>
int(4)
}
------------------------------------------------------------------------
[2002-04-24 22:33:19] sniper@php.net
Reread your original comment..there is no problem in connection but
with the imap_num_msg() function, right?
Try adding this there:
$arr = imap_check($inbox);
var_dump($arr);
What does it output?
--Jani
------------------------------------------------------------------------
[2002-04-24 22:19:31] newton@islu.irk.ru
Bad news: your varinat is working like the rest all, and i have
imap-2001a ;((
------------------------------------------------------------------------
[2002-04-24 22:16:07] sniper@php.net
What if you use this imap_open() line:
$inbox = imap_open ("{localhost:110/pop3}INBOX", "user_id",
"password");
Does it work any better? Also, I'd suggest you update
your c-client to imap-2001a.
--Jani
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16781
--
Edit this bug report at http://bugs.php.net/?id=16781&edit=1