Thanks in advance for your help.
Below is the code.
Code: Select all
$result = imap_search($imap,'UNSEEN');
foreach ($result as $value) {
echo " the unseen message number is";
echo "<br>";
echo $value;
echo "<br>";
}Moderator: General Moderators
Code: Select all
$result = imap_search($imap,'UNSEEN');
foreach ($result as $value) {
echo " the unseen message number is";
echo "<br>";
echo $value;
echo "<br>";
}