SQL SYSMAIL Start Stop Status


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. --Get current status of sysmail
  2. EXECUTE msdb.dbo.sysmail_help_status_sp
  3.  
  4. --Start sql sysmail
  5. EXECUTE msdb.dbo.sysmail_start_sp
  6.  
  7. --Stop sql sysmail
  8. EXECUTE msdb.dbo.sysmail_stop_sp

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.