How to send mail from Stored Procedure?

后端 未结 2 1780
温柔的废话
温柔的废话 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

提交回复
热议问题