Re: imap_setflags_full Seen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Lynch schreef:
On Tue, March 4, 2008 4:26 am, Jochem Maas wrote:
Richard Lynch schreef:
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?

Yes, it should...

Fixed that, but no better.

Since FT_UID === ST_UID === 1, that's to be expected, however. :-(

I could have guessed that, the manual didn't say what the values were and I
couldn't be bothered to check :-/


2. the imap bos is opened readonly?

I don't think so...

I didn't use the READ_ONLY flag upon opening...

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 ;-)

3. er ... I l-i-e-d :-)

I do that a lot. :-)

so that is Dan Brown under the mission impossible mask? :-P




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux