Gossamer Forum
Home : General : Internet Technologies :

PHP, IMAP and Priority

Quote Reply
PHP, IMAP and Priority
I am writing a web-based email script and want to denote if a message is marked as Urgent.

What I am doing is:
Code:

$MN = $msgCount;
$overview = imap_fetch_overview($mbox,"1:$MN",0);
$size = sizeof($overview);
for ($i=$size-1;$i>=0;$i--) {
$val = $overview[$i];
$flag = $val->flagged;
}

however, $flag is not being populated. Any insight as to what I am doing wrong?

Thanks.
Subject Author Views Date
Post PHP, IMAP and Priority Lee 3329 Jul 12, 2004, 5:14 PM