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 2005 Forums
 SQL Server Administration (2005)
 Email job output results

Author  Topic 

ed6612
Starting Member

5 Posts

Posted - 2008-04-14 : 16:18:54
Hi,

I was wondering is there was is a way in SQL 2005 to not only email job completion notifications but also include the output of a step (e.g. TSQL step) within the email. I was able to accomplish this in the past with SQL 2000 by writing output to a file and then adding an extra CMDEXEC step that exectuted BLAT (CLI SMTP engine) that sent the contents of the output file as email body out of band. Although this worked and I can do the same with 2005 it is not very elegant and I was wondering if 2005 version might have something built-in.

Any thoughts?

Thank you,


-Ed

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2008-04-14 : 23:02:21
Sql2k5 doesn't have magic on this one.
Go to Top of Page
   

- Advertisement -