Jump to content
xisto Community
Sign in to follow this  
adly3000

Imap Problem i want to check if the message is not seen

Recommended Posts

i'd like to know which message i had not been seen, so i searched the manual and fid 2 flags says Unseen == 'U' || Recent == 'N' mean.

but i don,t understand what does Unseen == 'U' || Recent == 'N' mean(what he mean by flags)?

i want to check if the message is not seen, so how to do that?

i tried

$inbox = @imap_open("{mail.mysite.com:110/pop3}", "".$_SESSION['SESSION_USER_NAME']."+".$_SESSION['SESSION_MAIL_HOST']."", $_SESSION['SESSION_USER_PASS']) or header("Location: error.php?ec=3");$headers = imap_header($inbox, $x);if($headers->Unseen == 'U' || $headers->Recent == 'N')
but always show the message as unseen!!!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.