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