get status of email

i'm do a cgi to read mail messages using TNMPOP3
someone know how to do to verify if a message already read, or server not
supply this information?

thanks for all