How can we send Mail using Store Procedure in SQl 2000
hi
i searching lot of procedure to send mail using store procedure but no one can send
Can any one know tested storeprocedure sending mail using SMTP server
Regards
Kirti Darji
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Sanjay Chauhan55 reputationPosted Aug 11, 2009, 8:38 PM EDT
This is the tested mail sending sp for sql server 2000,
EXEC master.dbo.xp_smtp_sendmail @FROM = '[email protected]', @FROM_NAME = '[email protected]', @TO = @vc_mailto, @replyto = '', @CC = '', @BCC = @bcc_mail, @priority = 'NORMAL', @subject = @vc_subject, @message = @vc_message, @type = 'text/html', @messagefile = '', @attachment = '', @attachments = '', @codepage = 0, @server = 'smtpserver'Kirti Darji23 reputationPosted Aug 11, 2009, 8:48 PM EDT
sundara moorthy27 reputationPosted Nov 2, 2009, 6:42 AM EST