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

sakuraime 2,321 Reputation points

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.
12,895 questions
0 comments No comments
{count} votes

Accepted answer
  1. AmeliaGu-MSFT 13,961 Reputation points Microsoft Vendor

    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,

    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