I receive vouchers on a dedicated e-mail address (a sample vouchers is attached).
I need a php script that will read the e-mails, translate the data and store the data in my database.
A cronjob will run the script every 5 min.
To create a voucher in the database I need 3 items from the e-mail:
1. partner ID = sender e-mail address
2. product ID = Option: (see attached sample: Option: 328)
3. voucher code = [url removed, login to view] ref: (see attached sample: [url removed, login to view] ref : SHAN43251)
An e-mail may contain only one voucher code and one article number.
After the e-mail is read move the e-mail to the ‘read’ folder
If no voucher code or article number or sender is found forward the e-mail to a specific e-mail address and move it to the ‘read’ folder.
20 freelanceria on tarjonnut keskimäärin 88 $ tähän työhön
The voucher is nicely structured, so parsing it for the specific information should be pretty easy. I'll send you a PM to work out some of the details.
I all ready do work on this type of work for fetching content from string or html and store in database a specific information, So, i am interest in this project, Hope, i'll getting positive response, Thank You