How to configure mail on Azure SQL Database

前端 未结 1 915
暖寄归人
暖寄归人 2020-12-21 14:26

We are moving from Microsoft SQL Server 2012 (SP1) - 11.0.3128.0 (X64) to Microsoft SQL Azure (RTM) - 12.0.2000.8

Previously we send mail from database mail if a

相关标签:
1条回答
  • 2020-12-21 15:04

    You can write a Stored Procedure to query the table and return results, read the results in an Azure WebJob, Logic App or Azure Function, schedule the execution and send the results via email. Here you can find an example using a Logic App and here you can find how to schedule it.

    You can use your own Exchange/SMTP server or you can choose to use SendGrid to send out the email as shown here.

    0 讨论(0)
提交回复
热议问题