note 3202 modified in imap_setflag_full by ronabop
| From: | ronabop@php.net | Date: | Tue, 17 Oct 2000 06:11:08 +0000 |
| Subject: | note 3202 modified in imap_setflag_full by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6554@lists.php.net to get a copy of this message | ||
I've finally managed to get some action out of this function. Here is some code that might work
help some people out:
$headers = imap_headers($link);
for($x=0; $x < count($headers); $x++) {
$id = substr($headers[$x],5,4);
imap_setflag_full($link,imap_uid($link,$id),'\\SEEN',SE_UID);
}
Good luck.
http://www.php.net/manual/function.imap-setflag-full.php