Re: note 9591 added to imap_check

From: Date: Tue, 14 Nov 2000 07:17:36 +0000
Subject: Re: note 9591 added to imap_check
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-7662@lists.php.net to get a copy of this message
igor@linuxinside.com wrote: > > this function is not really useful, because if you > reload the page message will not be listed as "Recent" anymore. > So i came up with this function. > You may not like it and yes, i am just a beginner so my code is really bad, > but it works pretty good if there are still any new messages left in the > mailbox and it still can give you the total number of the new messages in > the mailbox... as 'recent' is defined as "arrived in the mailbox since the previous time the mailbox was opened", you don't have to blame imap_check() but imap_open() instead i assume what you are really looking for is the unseen property returned by imap_status() ... ? -- Harmut Holzgraefe hartmut@six.de

« previous php.notes (#7662) next »