Sending email using O365 on SQL Server Agent in Azure VM .

sakuraime 2,331 Reputation points
2021-02-04T06:28:59.907+00:00

Is it possible to send email using O365 email in SQL Server Agent installed on Azure SQL VM ??? (NOT AZURE SQL MI)

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,320 questions
0 comments No comments
{count} votes

Accepted answer
  1. AmeliaGu-MSFT 13,986 Reputation points Microsoft Vendor
    2021-02-05T06:16:36.803+00:00

    Hi sakuraime,

    Yes. Azure doesn't offer smtp servers by default so you have to use Azure SendGrid Email Delivery service.
    Please refer to SQL Server Database Mail configured with the Send Grid Email Service and Configure Database Mail on SQL Server Azure VM using T-SQL which might help.

    Best Regards,
    Amelia


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.