Re: imap_setflags_full Seen
| From: | Jochem Maas | Date: | Tue, 04 Mar 2008 17:15:28 +0000 |
| Subject: | Re: imap_setflags_full Seen | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-270943@lists.php.net to get a copy of this message | ||
Richard Lynch schreef:
On Tue, March 4, 2008 4:26 am, Jochem Maas wrote:I could have guessed that, the manual didn't say what the values were and I couldn't be bothered to check :-/Richard Lynch schreef:Yes, it should... Fixed that, but no better. Since FT_UID === ST_UID === 1, that's to be expected, however. :-(I am trying to use this: imap_setflag_full($imap, $uid, "\\\\Seen", FT_UID) or die("Unable to mark message as \\Seen");3 things: 1. shouldn't it be ST_UID iso FT_UID?
I assume you can therefore set 'Seen' flags from other applications? (might be worth tracing the IMAP conversation to see what your favorite email app does differently to php's imap extension. also is it just the 'Seen' flag you can't set or can you not set any kind of flag? (from my reading I gather there are a few others e.g. 'Flagged' ... which of itself is rather recursive ;-)2. the imap bos is opened readonly?I don't think so... I didn't use the READ_ONLY flag upon opening...
so that is Dan Brown under the mission impossible mask? :-P3. er ... I l-i-e-d :-)I do that a lot. :-)