Check this link , it has the necessary example code which tells you how you can connect to a pop3 mail box and read its contents. You can use this logic to loop thru each mail items to check if there is a mail item which is realted to the "mail box full" message.