How can i get only non-read email?

Can I check whether an email has been read?
[50 byte] By [youhaodiyia] at [2007-11-27 9:52:38]
# 1
If you're using IMAP, check the SEEN flag.if (msg.isSet(Flags.Flag.SEEN)) ...POP3 doesn't support any flags, see the FAQ.
bshannona at 2007-7-13 0:21:43 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2
Does IMAP depend on the SMTP Server?
youhaodiyia at 2007-7-13 0:21:43 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
Not directly, no, but often the same server will support both protocols.
bshannona at 2007-7-13 0:21:43 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4
How do i know whether a Server support IMAP protocol?
youhaodiyia at 2007-7-13 0:21:43 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 5
Normally, you read the documentation provided by the vendor or ISP.But you can always try connecting and see what happens.
bshannona at 2007-7-13 0:21:43 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...