If you need to send an email from SQL Server, you can use the following stored procedure:
sp_send_cdosysmail @From varchar(100), @To varchar(100), @Subject varchar(100), @Body varchar(4000)
NOTE: We do not provided support when using this stored procedure, so use it at your own risk.
Article ID: 281, Created: 4/24/2009 at 9:36 AM, Modified: 4/25/2009 at 11:57 AM