anzz - Thursday, January 19, 2017 2:17 PM
you missed the point above. it starts itself automatically when there's something int he queue, and turnns itself off after it is idle for a while.
what you should audit is failed mail: items that are in the sent mail with a status that is not sent, and dig intot eh specific errors to find out wher ethe issue is.
this is what i use; if it's been days or weeks since the last error, you are in good shape.SELECT top 100
mail.send_request_date As SentDate,
sent_status As Reason,
err.[description],
mail.*
FROM [msdb].[dbo].[sysmail_allitems] mail
inner join [msdb].[dbo].[sysmail_event_log] err
ON err.mailitem_id = mail.mailitem_id
WHERE mail.sent_status <> 'sent'
order by mailitem_id desc
Lowell