What is the best script, plugin or service to convert email to database table?
-
We are receiving CSV files every 10 minutes to our email. This consists of a table that needs to be pulled in for our dashboard for administrators to make decisions. What creative solutions exist to do this? I see three potential options: (1) Get a script to go into our gmail account OR another script friendly email provide to pull the CSV file. (2) Use a tool or web service that can receive emails and automatically convert them to a table to pull into our database. (3) Use a plugin for our email that provides this functionality. All suggestions are appreciated! :-)
-
Answer:
Yes this is reasonably simple, and common. I always write these from scratch, because each need is different enough that you will need to customize things. If you are using MS SQL Server, you can do most of this with a tool called SSIS (SQL Server Integration Services). Here is my outline for your problem: Use POP3 or IMAP to actually go and fetch the message itself. Extract the file from message attachments Save the file to disk Start processing it. Depending up on the database you can: Create a file that contains SQL commands to batch. OR Create a load file. Use the tools that come with your database product to load that file into the table you specify. Which of these you choose depends on your business needs. It doesn't even matter what language you use to do this. All of them support this kind of capability. This is something a good Sys-Admin or a Computer Science student should be able to hack together pretty quickly. Have them write you a VB command line tool to do it. Then schedule that with windows scheduler. put it on a server in your office.
David Buttrick at Quora Visit the source
Related Q & A:
- What is the best data model and database systems to store social graph?Best solution by Quora
- What is the best practice for free space for a SQL server database drive?Best solution by Database Administrators
- What is the best Dial-Up internet service provider in the northern minnesota?Best solution by Yahoo! Answers
- What is the best unlimited prepaid wireless service?Best solution by prepaid-wireless-guide.com
- What is the best internet and cable service?Best solution by wiki.answers.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.