adly3000
Feb 7 2006, 10:59 AM
| | 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
CODE $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!!!! |
Reply
cooleappie
Apr 28 2008, 06:43 PM
Maybe you could explain your problem more clearly.. I really can't do anything with this..
Reply
Similar Topics
Keywords : imap message- Just About Completed My Own Message Board Source.
- This one looks nice! (10)
I've finally completed my message board source code! This one is very nice, and it has
many, many features. So if you can, please rate them and possibly register if you like this
/wink.gif' border='0' style='vertical-align:middle' alt='wink.gif' /> http://subzer0.net/boards/ ...
Reading Emails Using Php (imap)
- (0)
Php And Imap To Read Emails - Need Help
- (0)
Hi everyone, im experimenting with php and IMAP to read emails on my local email server. My local
email server is Mercury V4 which aparently does support POP and IMAP, i have confirmed the server is
working by sending an email from the server using its internal send mail system and then checking
that email using the Thunderbird client. the email was sent and received properly. So i moved into
the PHP area and done the basic connect code (the full code i used is below so check that, im sure
its right, i basically copied it) which seemed to work, i got the result: "Resou...
Imap Status Set Flags Problem
- IMAP status set flags problem (1)
i'd like to set or clear the seen flag to any selected message: CODE if
(isset($_GET['hmark']) &&
isset($_GET['dmsg']) &&
isset($_GET['fresh'])) { $dmsg =
$_GET['dmsg']; $flagtype = $_GET['hmark'];
$fresh = $_GET['fresh']; $used =
isset($_SESSION['used']) ? $_SESSION['used'] :
array(); if (...
My Self-coded Message Boards
- Rate them! (25)
Alright, I used my great knowledge of PHP ( /tongue.gif' border='0' style='vertical-align:middle'
alt='tongue.gif' /> ) to code my own message boards! http://subzer0.net/php . The script
runs exceptionally fast and posting/leveling up works and most of the admin/mod features work. If
you want to register, then you would be able to explore these features more. If you don't, then
could you just rate them by the look of the index? >_> Please rate them from 1 to 10!...
Random Message Generator
- (4)
Here comes another one of Inspired's "amazing" PHP scripts. This little script lets you display
a random message every time the user visits that particular page. It's not really that useful,
but it does make the page a bit more "dynamic". CODE $randMsg = array("Hi,
welcome to my page!", "Hey you! Thanks for visiting!", "Bonjour, mon
ami!", "So, do you like the site?", "Come one, come all!");
$MsgNum = count($randMsg); $MsgGenNum = floor(rand(MsgNum)&...
Looking for imap, problem, check, message
|
|
Searching Video's for imap, problem, check, message
|
advertisement
|
|