Bug #16781 Updated: imap support doesn'r work fine

From: Date: Thu, 25 Apr 2002 02:19:32 +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-5917@lists.php.net to get a copy of this message
ID: 16781 Updated by: newton@islu.irk.ru Reported By: newton@islu.irk.ru -Status: Feedback +Status: Open Bug Type: IMAP related Operating System: Linux RedHat 7.2 PHP Version: 4.2.0 New Comment: Bad news: your varinat is working like the rest all, and i have imap-2001a ;(( Previous Comments: ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ [2002-04-24 22:08:13] newton@islu.irk.ru No problem, something like that: <?php Header("Content-type: text/plain"); $inbox=imap_open("{localhost/pop3:110}", "username", "password"); $total = imap_num_msg($inbox); echo "Total: $total messages"; imap_close($inbox); ?> ------------------------------------------------------------------------ [2002-04-24 22:01:44] sniper@php.net Please add a short example script which can be used to reproduce this. ------------------------------------------------------------------------ [2002-04-23 21:21:32] newton@islu.irk.ru I have ever just compiled 4.2.0, but it is still not working! I have RH7.2(2.4.7), PHP 4.2.0 Compiled as CGI module, c-client 4.1 with kerberos 5 support. imap_open() works fine, when i am specifing incorrect password it fails so there is no problem with that. But stream returned by imap_open() for POP3 mailbox is always pointing to an empty mailbox even if there are more than 100 messages! I have tried this under different mailservers (e.g. POP3 server on localserver and remote) and results always were same. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16781&edit=1

« previous php.bugs (#5917) next »