Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Using SQL SMTP to send Query Results

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-02-08 : 07:59:32
Jeremy writes "Can CDONTS be configured to send query recordsets to email recipients? I want to set up a stored procedure that emails a recordset, but I can't configure sendmail on my SQL server (no MAPI server)."

robvolk
Most Valuable Yak

15732 Posts

Posted - 2005-02-08 : 08:00:40
This is new, still in beta, but will probably do the job for you:

http://sqldev.net/dts/SMTPTask.htm
Go to Top of Page

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2005-02-08 : 08:01:25
Not easily.
You'd be better off writing an external program that retrieves the data, formats it and sends the mail.


Damian


Edit : Damn, sniped! Do what Rob says.
Go to Top of Page
   

- Advertisement -