Solved

How can I read an Email (outlook 2003) using SSIS package on SQLSERVER 2005

Posted on 2010-11-16
6
2,102 Views
Last Modified: 2012-05-10
I need to access a specific E-Mail folder from an SSIS package created on a SQLServer 2005.
The server does not have Outlook installed (this is a company decision).

I need to read the emails and extract data to input into a SQL dB.  Inputing the data into a dB is no problem just the access to and reading of the emails.

0
Comment
Question by:RabEDF
  • 3
  • 2
6 Comments
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 34144035
You can read emails from Exchange Server into SQL Server via the scripts provided here:

http://msdn.microsoft.com/en-us/library/bb508823%28EXCHG.80%29.aspx

Do Note that it is not recommended to use these scripts in Production Environment..
0
 
LVL 8

Expert Comment

by:GundogTrainer
ID: 34144046
You mention Outlook 2003 - can you confirm what version of Exchange you are using? 2003,2007 or 2010.
0
 
LVL 57

Expert Comment

by:Raja Jegan R
ID: 34144075
And missed mentioning one more thing..

* SQL Server can send emails which can be read in Outlook but SQL Server can't receive or read emails from Outlook.
* Above approach mentioned in my link suggests a way to read emails directly from Exchange Server and not from Outlook.
0
Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:RabEDF
ID: 34144087
We are using Exchange 2003
0
 

Author Comment

by:RabEDF
ID: 34144099
rrjegan17: - i really need to be able to read a mail from the SSIS package which will be executed from the server!!
0
 
LVL 57

Accepted Solution

by:
Raja Jegan R earned 500 total points
ID: 34144132
Yes, you can do it provided you have created those CLR functions in SQL Server and use TSQL statements within your SSIS package by reading from Exchange Server directly instead of Outlook.
Hope that is what you require..
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Email attacks are the most efficient and effective way for cyber criminals and hackers to compromise a computer or network. We often find our-self second guessing the authenticity of an email message, for such instances we can follow practical princ…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now