We have database mail configured on our 64-Bit SQL Server Enterprise 2005 (SP1) and are able to send test messages from the context menu that appears when selecting database mail component.
However for some reason when a SQL Agent Job fails, no emails are sent to the 'operator' that has been defined for the job. I have confirmed that we have the operators correctly configured. We also have a small SQL Agent Job that just sends a test email via the sp_send_dbmail command and that works properly. However if I deliberately create a malformed parameter in the sp_send_dbmail command to 'break' it...no notification of a job failure message is sent.
I have verified that the service_broker component is enabled...and the status of database mail in the MSDB database is 'started.'
We have setup several other 32-bit SQL Server 2005 systems using database mail...and they all work flawlessly.
After reviewing existing message posts...I am unsure if there is a problem with database mail on a 64-bit SQL Server box. Some say 'yes' other say 'no'.
There are several MSDN notes about the problem...however these appeared prior to the release of SP1 of SQL Server 2005.
Thank you for your assistance.
...cordell...