Honesty Rocks! truth rules.

Reading Emails Using Php (imap)

HOME      >>       Programming

shadowx

Evening, ive been experimenting with PHP and IMAP (IMAP is a protocol used to read email messages without downloading them to a client like using POP) and I've come across a couple of issues, one of which i posted on the forums here but have since solved. But the solution highlighted another problem... It seems my simple code can only "detect" and therefore read/display NEW emails, which is a big problem so does anyone know how to read/display already read emails? If all else fails i can of course store all emails into a DB when the user reads them and retain them in the DB untill the user deletes them but that sorta takes part of the point away of using PHP and IMAP...