Jump to content

Recommended Posts

Posted

Hi

 

Not sure if this is the right area, but I'm looking for the easiest/cheapest, free if possible, way to having emails imported into SQL. If possible I would like something to pull the email from exchange and enter into SQL so that I can then build a web based portal for interpreting the data.

 

Thanks in advance.

Posted
I'm looking for the easiest/cheapest, free if possible, way to having emails imported into SQL. If possible I would like something to pull the email from exchange and enter into SQL so that I can then build a web based portal for interpreting the data.

 

Do you mean an historical set of emails of some kind - either emails sent to a particular person or about a particular subject from the last, say, 5 years? Or emails sent from now on? If the latter, you could set up a mail forwarding rule in Exchange to send your emails to whatever destination you liked. If the former, you need to find some way of getting Exchange to list emails and export individual ones for you. Or are you simply wanting to do something with all emails in your Exchange server for some reason?

Posted

Interesting. A good approach to systems design is to start with the outputs. What do you need the thing to do? That is hidden in the the innocent looking phrase "interpreting the data". What does that mean?

 

Exchange itself is managing the mail in databases. If you already have exchange you have a free tool right there. Is being able to interrogate the data using SQL really that important? SQL is just a way to interact with data - if you are not precious about that, you almost certainly widen your options. There might even be tools to do it. You could even drive them from a web server if you are brave or just careful.

 

So, what do you really want to do?

Posted

Basically when an email is sent to an exchange mailbox, I want that to them transfer the sender email, subject and body into an sql database, so that I can then create an asp page to pull the data from the sql table and display and work with.

 

Essentially a helpdesk system without needing spiceworks etc so can customise and integrate into my in-house developed asset management database.

Posted

I think to access the mailbox you need to either use pop3 or MAPI libraries from within asp (or language of your choice), look for new mail, get it, parse out the info you want and insert that into the table you have created. I've done very similar in python and it was relatively easy.

 

You could probably use a powershell script to access the mailbox and do the same. Running it as a regular scheduled process.

 

Personally, I use humans.

  • 3 weeks later...
Posted
Off the wall but easy solution: forward it to Gmail and use apps script to save to a Google sheets file, then embed that spreadaheet in a Google site using the awsometable addon for filtering etc?
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...