cvs: /phpdoc/functions imap.sgml
| From: | Charles Hagenbuch | Date: | Thu, 19 Aug 1999 05:25:33 +0000 |
| Subject: | cvs: /phpdoc/functions imap.sgml | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10008@lists.php.net to get a copy of this message | ||
chagenbu Thu Aug 19 01:25:33 1999 EDT
Modified files:
/phpdoc/functions imap.sgml
Log:
cjh: Trying to clarify the values for flags in the object returned by
imap_header().
Index: phpdoc/functions/imap.sgml
diff -u phpdoc/functions/imap.sgml:1.4 phpdoc/functions/imap.sgml:1.5
--- phpdoc/functions/imap.sgml:1.4 Sun Jul 25 03:01:36 1999
+++ phpdoc/functions/imap.sgml Thu Aug 19 01:25:33 1999
@@ -328,11 +328,14 @@
followup_to,references
message flags:
- Unseen - 'U' if unseen, ' ' if seen
+ Recent - 'R' if recent and seen, 'N' if recent and not seen, ' '
if not recent
+ Unseen - 'U' if not seen AND not recent, ' ' if seen OR not seen and recent
Answered - 'A' if answered, ' ' if unanswered
Deleted - 'D' if deleted, ' ' if not deleted
Draft - 'X' if draft, ' ' if not draft
Flagged - 'F' if flagged, ' ' if not flagged
+NOTE that the Recent/Unseen behavior is a little odd. If you want to know if a message is Unseen,
you must check for
+Unseen == 'U' || Recent == 'N'
toaddress (full to: line, up to 1024 characters)