Link to home
Start Free TrialLog in
Avatar of louise001
louise001

asked on

SQL Server 2005 sp_send_dbmail doesn't send to some email addresses

Hi,

In SQL Server 2005, calling sp_send_dbmail to send an email sends successfully to an individual's email address, and the message is delivered to the recipient. But if I specify an address which is a distribution group (say software.developers@mydomain.com), although the sp returns 0 the message is not delivered to any of the recipients. I'm told by the person who looks after our Exchange server (we are running Exchange 2010 SP1) that he can't find anything in the Exchange logs for the undelivered messages. Exchange is configured to allow mail from the IP address of the server on which SQL Server resides (and of course some messages sent through sp_send_dbmail are delivered). I've examined the logs and queried for message status and they state all messages have been sent and queues are working.

Thanks for any help.

Louise
ASKER CERTIFIED SOLUTION
Avatar of Humpdy
Humpdy

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Humpdy
Humpdy

cool, would be interesting to see what he changed exactly.
Opening the distribution lists to external would do the trick. Not sure what he means by authentication requirement
Avatar of louise001

ASKER

Hi,
Yes, that would be interesting. All along my colleague was maintaining the issue lay with SQL Server, when it seems it didn't. I began to think the issue must be with Exchange after examining all the SQL dbmail logs, but I don't have access to the Exchange box myself, and unfortunately I'm not really in a position to ask for any further information. But thanks again for your help.

Louise
I've marked my own comment as a solution because it contains essential information about a setting in MS Exchange 2010 SP1.
I was having the same problem and our Exchange Admin when in to the distribution group in Exchange and unchecked the require authentication and it started working.

Thank you very much for the help on this one!