Re: imap_setflag_full not setting \\Seen flag
| From: | Chris Campbell | Date: | Wed, 05 Jul 2000 19:18:59 +0000 |
| Subject: | Re: imap_setflag_full not setting \\Seen flag | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5047@lists.php.net to get a copy of this message | ||
I actually had this question answered elsewhere. The problem is that
POP has no concept of message flags, so a POP server can't distinguish
between read and unread messages.
Chris Campbell wrote:
>
> I'm trying to use the imap_setflag_full function (PHP 3.0.15) to set the
> \\Seen flag for a message on a remote POP3 server:
>
> $status = imap_setflag_full($pop_stream, $msglist[$i], '\\Seen',
> ST_UID);
>
> The function returns true, indicating success. However, the flag isn't
> really being set. I can verify this by retrieving the message header
> with imap_header, and also because the call
>
> imap_search($pop_stream, "UNSEEN", SE_UID);
>
> subsequently returns the same message!