Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extract from MS Exchange

Status
Not open for further replies.

livezone

MIS
Jan 17, 2003
81
CA
Hi,

Is there a way to extract exchange data using SQL Server?

I have designed an outlook form in Organizatinal library. I want to get the list of all emails using this form with date sent.

Thanks
Shafiq
 
You can use xp_readmail to read emails from an exchange mailbox. Is that what you are trying to do?

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Is there a way to query using select statement as you do with other linked servers?

Thanks
Shafiq
 
What info are you trying to query? The address list or the emails?

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
In our company exchange server I have created an email type form in our Organizational library. This form contains serveral predefined text box and check boxes. I need to get the count of emails generated for that form and also the create date.

I know the Message Class which is IPM.Note.ServiceTicket.

You can check your own organization form in outlook using

New --> Choose Form
Then a dialog box will display all user defined forms.
Thanks
Shafiq
 
You'll need to read the messages with the xp_readmail procedure and log them into a table then do counts from the table.

Denny
MCSA (2003) / MCDBA (SQL 2000)

--Anything is possible. All it takes is a little research. (Me)
[noevil]
 
Hi

xp_readmail reads a mail message from the Microsoft® SQL Server™ mail inbox.

But I want to read from a Public folder in Excahnge

Thanks
Shafiq
 
you could make it into a linkedserver using the oledb for exchange provider wich is on the exchange cd.

Christiaan Baes
Belgium

I just like this --> [Wiggle] [Wiggle]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top