dbmail3

Before starting the blog ,i have to thank Mr.Abdul Fareed he is the man behind the blog

enable database mailĀ  using the below command

sp_configure ‘Database Mail XPs’,1
reconfigure with override

You can configure database mail from here.

After configuring database mail you have to change the Gmail setting if you are getting the below error

 

dbmail1

Step 1

In settings click on Account Profile.

dbmail2

Step 2

Click on Sign-in & Security

dbmail3

Step 3

Go to connected apps & sites

and enable

Allow less secure apps:ON

dbmail4

once you have enabled .you will receive a confirmation from in your Inbox and you are done, now you can send email .

dmail5

 

 

 

 

 

 

3 thoughts on “Database Mail not working with GMAIL

Leave a Reply

Your email address will not be published. Required fields are marked *