Re: imap_setflags_full Seen [SOLVED]

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

 



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.




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