Solved

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

Posted on 2010-11-16
6
2,203 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Create high volume marketing opportunities using email signatures with these top 10 DOs and DON'Ts of email signature marketing.
Ransomware continues to be a growing problem for both personal and business users alike and Antivirus companies are still struggling to find a reliable way to protect you from this dangerous threat.
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…

730 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