/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
--Get current status of sysmail EXECUTE msdb.dbo.sysmail_help_status_sp --Start sql sysmail EXECUTE msdb.dbo.sysmail_start_sp --Stop sql sysmail EXECUTE msdb.dbo.sysmail_stop_sp