How to send mail from Stored Procedure?

后端 未结 2 1768
温柔的废话
温柔的废话 2021-01-19 08:06

I need to send a mail from Stored Procedure. I knew it is possible. I studied it from this link . How do i authenticat in SMTP Server. Do you have any idea.?

Thanks<

相关标签:
2条回答
  • 2021-01-19 08:52

    You can use SQL Database Mail.

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

    And here's a Tutorial

    0 讨论(0)
  • 2021-01-19 09:02

    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 讨论(0)
提交回复
热议问题