Bug #11153 Updated: imap_check() returns wrong date

From: Date: Sun, 17 Feb 2002 05:00:01 +0000
Subject: Bug #11153 Updated: imap_check() returns wrong date
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-449@lists.php.net to get a copy of this message
ID: 11153 Updated by: php-bugs@lists.php.net Reported By: tp@dexel.dk -Status: Feedback +Status: No Feedback Bug Type: IMAP related Operating System: linux 2.2.17 PHP Version: 4.0.4pl1 New Comment: No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-02-13 12:16:04] php@firstnetimpressions.com FYI ... This issue remains in PHP version 4.1.1 PHP_FUNCTION(imap_check) is calling rfc822_date(date) in php_imap.c ------------------------------------------------------------------------ [2002-01-16 07:23:25] sander@php.net Does this error still occur with the lastest (CVS) version? ------------------------------------------------------------------------ [2001-05-28 07:17:42] tp@dexel.dk The Date field of the object returned by imap_check should contain the date of the last change of the selected mailbox, but it always return the date and time on which the function is called, at least on my system. I use c-client version 4.1 or more precisely imap-2001.BETA.SNAP-0104262058 I use courier-imap-1.3.6 imap server Script to reproduce error: $servercon = imap_open("{mail.domain.com:143}INBOX", "someone", "secret"); $mailboxStatus = imap_mailboxmsginfo($servercon); echo $mailboxStatus->Date; imap_close($servercon); I have tried the above script on an older server with php 4.0.2, and older c-client library. I have also tried connecting to some older sendmail based mailserver with the same results. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=11153&edit=1

« previous php.bugs (#449) next »