Keith, Adam, >I know Sandy said that when the message is retrieved it changes, but >it doesn't seem to be recognized as read.
The issue you're probably seeing is that there is no standard way of marking Read/Unread that would be interpreted equally by all third-party products. Imail keeps track of read/unread just for Web Messaging and IMAP4 (that's why Imail doesn't discriminate between read and unread messages when you retrieve over POP3--it will *mark* unread ones as read for its own internal use, but it will give you all of the messages). It's thus up to your mail client (in this case, Jmail) or you as programmer to keep a log of the UIDLs (message-specific ID numbers) that have been seen before. Message UIDLs are guaranteed to be sort-of-unique among user IDs (though not necessarily across entire servers, let alone across the Internet). Jmail may not be keeping an accurate log of these for some reason, but you can if you can retrieve them. The POP3 command to get a list of UIDLs (naturally) is UIDL (I don't know if Jmail lets you do this, though many commercial components do). If you can get a UIDL listing when people log on and compare the response to the last cached UIDL listing, you'll know if there're new ones. Note that when you get an empty UIDL listing, that's a signal to delete your cache, report no new messages, and start over for next time (that's what Outlook, et al., do to keep track of read/unread, BTW). Sandy Please visit http://www.ipswitch.com/support/mailing-lists.html to be removed from this list. An Archive of this list is available at: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
