Solved

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

Posted on 2010-11-16
6
2,180 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
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Create high volume marketing opportunities using email signatures with these top 10 DOs and DON'Ts of email signature marketing.
Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
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: …
Many of my clients call in with monstrous Gmail overloading issues with Outlook. A quick tip is to turn off the All Mail and Important folders from synching. Here is a quick video I made to show you how to turn off these and other folders in Gmail s…

856 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