I need an application developed that will login to my imap mail account and harvest email addresses from messages. Script will work similar to “import from imap” option in phplist but I need this application to also extract email addresses from the body of the messages. This application can be developed as a web app or vbscript to be run from a desktop.
Program flow:
•User enters details of the IMAP account: Server, User, Password,
•User Selects the which fields to search for addresses: to, from, cc, bcc, reply_to, sender, return_path, body
•User enters a file name to save results
•User clicks “continue” button
•Program logs into account and returns a list of folders
•User selects which folders to scan
•User clicks import button
•Program searches for email addresses in the selected fields and saves them to csv file
•If implemented as a web app program then redirects to page where user can download completed file
•User clicks the delete messages button and Program then deletes all processed messages