How to detect whether Database mail is enabled or not

  • Hi,

    How we can detect whether Database mail is enabled or not using tsql commands rather than checking it under surface area configuration?

    MJ

  • Try this:

    EXECUTE msdb.dbo.sysmail_help_status_sp ;

    Hope this helps.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply