Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Database Mail not working from SQL Agent job

$
0
0

I have SQL job setup which has query which sends the query result in e-mail. This query works fine from SSMS and send query result in e-mail using Database Mail. But when I am running this job , job get succeeded but not getting query result in e-mail. 

Running on SQL Server 2008R2 

DB mail profile created and set to default. 

SQL Agent properties using same database default mail profile. 

Any solution for this?

Thanks


Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach A.Shah


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>