How to send Database Mail in Azure VM using Gmail Account

Hi Mates,

In this post we are going to explore on how to send emails from Database mail using Gmail account as what we use test on our personal Machines.

The Mechanism remains the same hence I am not going to detail them.

We need to ensure the below components are installed on the server.

We just need SMTP server however I choose telnet as well just to cross check the telnet is working as expected for SMTP GMAIL with the port 587

telnet 587

There might be a chance for Database mail to get blocked as security for gmail accounts might block you hence for testing purpose  I enabled the below option

Apart from that I didn't encounter any issues & here is the mail of what I received.