SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Reading email body
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AskSQLTeam
Ask SQLTeam Question

USA
0 Posts

Posted - 08/01/2005 :  14:52:56  Show Profile  Visit AskSQLTeam's Homepage  Reply with Quote
Alan writes "How can I programatically poll an Exchange email account from within SQL Server to read the body of an email and update a table field based on the email's content. I had this functionality working using xp_readmail but new hosting doesn't support MAPI so I need an alternative solution."

timmy
Flowing Fount of Yak Knowledge

Australia
1242 Posts

Posted - 08/01/2005 :  18:51:53  Show Profile  Visit timmy's Homepage  Reply with Quote
Try using the CDO objects. There is some sample code to send emails at http://www.orcsweb.com/articles/sendmailsql.aspx. You should be able to adapt this to read emails.

Tim
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000