I'm in the process of setting up on all the instances in a new location notifications for jobs and other tasks. Currently the SQL Server machines to not have smtp services running on them so I am trying to avoid installing smtp in order to use CDOSYS or CDONTS. The work around was to use one of the SQL Server 2005 instances as my notification system.
Database mail is configured and working. I added a linked server entry to the 2005 instance on all the instances I want to send notifications out on. this works fine on all of the 2005 instances and also works on the 2000 instances however I get this when calling sp_send_dbmail from the 2000 instances
As you can see the mail is queued and does go out without any problems but the error message following it. I thought this was a quoted identifier issue but turning that off does not rid me of the follow up error.
Any suggestions? Or should I code around the error level 11?
[sub]____________ signature below ______________
I am Tedward Keyboardhands!!!
You are a amateur developer until you realize all your code sucks.
Jeff Atwood[/sub]
Database mail is configured and working. I added a linked server entry to the 2005 instance on all the instances I want to send notifications out on. this works fine on all of the 2005 instances and also works on the 2000 instances however I get this when calling sp_send_dbmail from the 2000 instances
Code:
Mail queued.
Msg 0, Level 11, State 0, Line 0
A severe error occurred on the current command. The results, if any, should be discarded.
As you can see the mail is queued and does go out without any problems but the error message following it. I thought this was a quoted identifier issue but turning that off does not rid me of the follow up error.
Any suggestions? Or should I code around the error level 11?
[sub]____________ signature below ______________
I am Tedward Keyboardhands!!!
You are a amateur developer until you realize all your code sucks.
Jeff Atwood[/sub]