Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Database Mail Issue

Author  Topic 

Peter99
Constraint Violating Yak Guru

498 Posts

Posted - 2012-10-31 : 13:13:32
Hi,

Database mail is configured on sql sever 2005 (9.0.5000). Profile and accounts are created and configured.

When I try to send test message, message never delivered. Don't know where it stuck up. In database mail log there is error:

Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account x (2012-10-31xxx:xx:xx). Exception Message: Cannot send mails to mail server. (Mailbox unavailable. The server response was: 5.7.1 Unable to relay).

Any Help?

Thanks

robvolk
Most Valuable Yak

15732 Posts

Posted - 2012-10-31 : 13:34:33
Well, to ask the obvious questions, is Database Mail configured to use an SMTP server? Is that server running an SMTP service? Can the two servers see each other (ping test)?
Go to Top of Page

jackv
Master Smack Fu Yak Hacker

2179 Posts

Posted - 2012-11-02 : 15:29:29
Is this a recent problem? Speak to the SMTP server administrator , do they have Relay Enabled on the smtp server?

Jack Vamvas
--------------------
http://www.sqlserver-dba.com
Go to Top of Page

jeffw8713
Aged Yak Warrior

819 Posts

Posted - 2012-11-05 : 14:38:43
This is definitely an issue on the SMTP server - either relay is disabled, or your server has not been added to the white list of allowable servers.
Go to Top of Page

prett
Posting Yak Master

212 Posts

Posted - 2012-11-07 : 00:03:01
As all users suggested that this could be an issue with your SMTP server. My view is also same. First make sure that the server is working properly. See this post for detail information: http://support.microsoft.com/kb/323350?wa=wsignin1.0
Go to Top of Page
   

- Advertisement -