I need a simple script or Windows program that will connect to my SMTP e-mail server and download all e-mails that are in that account. Any e-mails that contain a "account verification" request, I want the script to download that message, check the TO: field for who the e-mail was sent to, then look up that username and password from a CSV file, and then open the link provided in the e-mail and automatically login with the username and password provided to verify the account automatically. This will need to repeat for every message it downloads that is a verification request. When it is done, it should delete ALL the messages from the server, (including ones that did not contain a verification request) wait a certain amount of time that I can set (like 1,2, 3 or more minutes), and then repeat. It should keep a running counter of all "good" accounts (successful verifies), any unsuccessful ones (like getting an invalid username and password response from the site), and any messages that were deleted that did not contain a verification request.
I have a program already written for Windows XP that used to do this, but it quit working. It should be a fairly simple and small program.
I need it as soon as possible.
More details will be provided in PMB such as the website and file format needed as well as example verification e-mail messages so that you can see what they look like.