Need some work done? Post a Project Today
I need something written that will monitor an email inbox and if emails come in from a specific email address it will search that email immediately and extract specific data (3 items) and copy it to a text file in a defined format. Speed is critical so software must execute as soon as the email arrives. Finally it was call another program that has already been written (which then uses the contents of the text file. When one email has been dealt with it will reset and wait for the next email and repeat the process copying over the previous text file with the data extracted from the new email. All emails will be similarly structured so should be easy to define rules for identifying the data to be extracted.
The software needs to run on a VPS running windows server 2008.
Additional Project Description:
10/07/2012 at 21:25 PKT
To give you the bigger picture, the existing program places bets on Betfair using the Betfair API. This text file that i want to populate (lets call it bets.txt) is where the existing program retrieves track, time, selection and stake information (actually 4 items and not 3 as stated)
Also, i need to be able to define the location of the email inbox i want to monitor (in case i change VPS or mail application). I'd also like to set a stake multiple in case i want to multiply the stake amount that was collected from the email. So perhaps i could have 2 text files that i can edit- 1 with the path of the email inbox, and 1 with a stake multiple. Therefore each time an email arrives the 4 items of data are collected and then the stake is multiplied by whatever number is in the stake multiple file. The bets.txt file is then populated with the data in a strict format. The betfair API only accepts certain abbreviations for track names so to be on the safe side, in case the email arrives with the full name of the track (or perhaps a typo) it would be good to have a table that you use to check to get the correct abbreviation for the track name collected from the email. If i can update that myself with different typos, abbreviations etc for each track code all the better.