Re: imap_setflags_full Seen [SOLVED]
| From: | Richard Lynch | Date: | Tue, 04 Mar 2008 18:04:14 +0000 |
| Subject: | Re: imap_setflags_full Seen [SOLVED] | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-270954@lists.php.net to get a copy of this message | ||
On Mon, March 3, 2008 7:04 pm, Richard Lynch wrote:
> I am trying to use this:
>
> imap_setflag_full($imap, $uid, "\\\\Seen", FT_UID) or die("Unable to
> mark message as \\Seen");
> to mark a message as "read"
Ah-ha!!!
The docs specify for Flags that the values are:
\\Seen \\Answered...
But the actual source and the RFC use data such as:
\Seen \Answered
This makes all the difference in the world!
I've added a note and submitted a Docs bug report.
And now anybody finding this thread will know what to do too. :-)
It works with "\\Seen" (which is to say, \Seen)
Reminiscient of Magic Quotes, eh?
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?