Re: imap_setflags_full Seen [SOLVED]

From: Date: Tue, 04 Mar 2008 18:12:10 +0000
Subject: Re: imap_setflags_full Seen [SOLVED]
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-270958@lists.php.net to get a copy of this message
Richard Lynch schreef:
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?
actually I noticed the \\\\ and something in my head said "that's one slash but Richard's just being super pedantic about his slashes [as usual]." damn I should have spotted it, I did actually read the single slash everywhere I went looking for info on the web. anyway good to know you fixed it.


« previous php.general (#270958) next »