note 33610 added to function.imap-body
| From: | jh at junetz dot de | Date: | Tue, 01 Jul 2003 21:37:40 +0000 |
| Subject: | note 33610 added to function.imap-body | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-51318@lists.php.net to get a copy of this message | ||
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.
----
Manual Page -- http://www.php.net/manual/en/function.imap-body.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33610
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33610&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33610&report=yes