repair e-mail data extraction script

IN PROGRESS
Bids
9
Avg Bid (USD)
$183
Project Budget (USD)
$30 - $250

Project Description:
I have a script that extracts data from a number (3) of standardized e-mails that requires fixing.

The object of the script:
- recognize which standard e-mail is received (by sender and by content)
- search e-mail for product ID and voucher code
- store voucher in database
- move e-mail to read folder
- send confirmation e-mail (or error e-mail when failed)

The current script produces error messages.
It has problems with the HTML in the e-mails.
Maybe a complete overhaul works best.

Besides the above I need some extra functionality.
Currently the e-mails are recognized by sender.
However the partner companies (the senders) use different e-mail addresses.
Therefore the e-mails must now be recognized by sender domain.

That's all.

Skills required:
MySQL, PHP
Additional Files: current_script.zip
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.