I have configured the mail in SQL Server but when I am sending mail from SQL Server it is showing mail queue message but I am not getting the mail. I also grant the permission to msdb.dbo.sp_send_dbmail sp for public.
my mail sending code as follows.
EXEC msdb.dbo.sp_send_dbmail @recipients='[email protected]',
@subject = 'test',
@body = 'Test',
@body_format = 'HTML';
I just do not understand why I am not getting mail where as I am getting mail queue message when sending.
please guide me.
thanks