note 33610 deleted from function.imap-body by didou
| From: | didou@php.net | Date: | Mon, 15 Jan 2007 00:34:09 +0000 |
| Subject: | note 33610 deleted from function.imap-body by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-121691@lists.php.net to get a copy of this message | ||
Note Submitter: jh at junetz dot de
----
If you read the description of options carefully you'll see that imap_body() marks messages as
read (SEEN) by default. Note that if you parse messages containing MIME using some of the other imap
functions and don't call imap_body() in such a case, the messages will probably still be
unread.
For example in a webmail environment you may have collected enough information to display a
particular message simply by parsing the MIME content with no need to call imap_body(). In this case
you can use imap_setflag_full(stream, sequence, "\\SEEN", options) to explicitly mark it
as read.