SQL Server 2008 - db mail issue
Posted
by Chris
on Stack Overflow
See other posts from Stack Overflow
or by Chris
Published on 2010-03-26T14:38:05Z
Indexed on
2010/03/26
14:53 UTC
Read the original article
Hit count: 312
sql-server-2008
|dbmail
Hello.
I have two instances of SQL Server 2008. One was upgraded from SQL Server 2000 and one was a clean, new install.
SQL Mail operates perfectly on both instances.
DB Mail operates perfectly on the newly installed instance.
On the upgraded instance, DB Mail does not send any mail. Of course, I am not positive that the fact this instance is upgraded has anything to do with the issue, but it might.
The configuration of my db mail profile and account looks identical to my functioning instance. In the configuration of the 'alerts' tab in the SQL Agent properties i have tried selecting both DB Mail and SQL Mail to no avail. Both instances use the same SMTP server with the same authentication (domain with db engine account).
All messages sent via sp_send_db mail and those sent via the 'test email' option are visible in the sysmail_allitems queue and remain there as 'unsent'. The send_status eventually changes to 'failed'.
The only messages in the sysmail_event_log are 'mail queue stopped by login domain\myuser', 'mail queue started by login domain/myuser' and 'activiation successful.'.
selecting from the externalmailqueue has the same number of rows as sysmail_allitems. i have tried bouncing the agent, the entire instance and moving the other functioning instance to the other node in the cluster.
any thoughts? thx.
© Stack Overflow or respective owner