I've been asked to take a look at why a SQL Agent job that's supposed to run each evening and then send an email out after completion, isn't sending the email.
Looking at the Job History logs, apparently it quit about 3 weeks ago, the log entries say
The job succeeded. The Job was invoked by Schedule 7 (Nightly Sales Files Load). The last step to run was step 1 (Nightly Sales Files Load). NOTE: Failed to notify 'sql_group' via email.
I took a look at the operators and if I try and send a test email to one of the operators I get the following error.
Error 22022: SQLServerAgent Error: The SQLServerAgent mail session is not running; check the mail profile and/or the SQLServerAgent service startup account in the SQLServerAgent Properties dialog.
I've verified that outlook 2000 is on the SQL server, and I can send/receive mail with it.
The authorized account for the email account is the same as what the SQL Server is using to login with, and that SQLServerAgent service is using.
I'm at a loss as to why SQL Mail isn't working suddenly.
ChuckG
Looking at the Job History logs, apparently it quit about 3 weeks ago, the log entries say
The job succeeded. The Job was invoked by Schedule 7 (Nightly Sales Files Load). The last step to run was step 1 (Nightly Sales Files Load). NOTE: Failed to notify 'sql_group' via email.
I took a look at the operators and if I try and send a test email to one of the operators I get the following error.
Error 22022: SQLServerAgent Error: The SQLServerAgent mail session is not running; check the mail profile and/or the SQLServerAgent service startup account in the SQLServerAgent Properties dialog.
I've verified that outlook 2000 is on the SQL server, and I can send/receive mail with it.
The authorized account for the email account is the same as what the SQL Server is using to login with, and that SQLServerAgent service is using.
I'm at a loss as to why SQL Mail isn't working suddenly.
ChuckG