开发者

How to send mail from Stored Procedure?

开发者 https://www.devze.com 2023-01-05 22:09 出处:网络
I need to send a mail from Stored Procedure. I knew开发者_如何学Python it is possible. I studied it from this link . How do i authenticat in SMTP Server. Do you have any idea.?

I need to send a mail from Stored Procedure. I knew开发者_如何学Python it is possible. I studied it from this link . How do i authenticat in SMTP Server. Do you have any idea.?

Thanks


You can use SQL Database Mail.

See Database Mail and SQL Mail Stored Procedures (Transact-SQL)

And here's a Tutorial


Using extended stored procedures to create an use and ActiveX that sends the email or create an assembly that sends the mails and use it from sql2008.

0

精彩评论

暂无评论...
验证码 换一张
取 消