I was recently asked by my boss to create... something i find nearly impossible without human intervention
The thing is, to have our users send a xml with some data via email, but my boss wants it to
- That the attached file be stored on a specific folder on a specific server whenever a new email arrives with the attachment
- The process will verify that there's a attached file on the email and thats its correct, meaning that its xml structure is as we asked it and has all the data stored on it
- Some of the xml file data be stored on a database (filename, file path, main id) for it to be searched on a little app which displays the xml data and so be able to download a copy of the file
My main problem is, having this process that keeps on cheking new received mails, retrieves the attachments, checks it and store it, i don't know if its possible, or where to start. For once, the email server needs to have some kind of programability processes, but still, looks like the one in charge of our mail server doesn't have any idea if there's something like that.
Any one can give me an idea on where to start with this?
I suggested we had a upload option on our main webpage, and we will have it, but they really want the email option and that all the process its automated