November 10, 2011 at 1:16 pm
Good afternoon
I will start describing the situation: I have a instance of SQL Server 2008, in that instance I have configured the Database Mail service to send notifications through our applications. When an application sends an email, the application invokes the sp_send_dbmail, I have added the logins to the DatabaseMailUserRole in order to avoid permissions issues. All works fine in our domain, but when an application tries to send an email to a email address that not belongs to our domain the following error message appears in the Database Mail Log:
Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 3 (2011-11-10T13:36:12). Exception Message: Cannot send mails to mail server. (Mailbox unavailable. The server response was: 5.7.1 Unable to relay).
)
I have configured the account to use SMTP authentication with a valid exchange account.
Hope someone can tell me what can I check to fix the error.
November 10, 2011 at 2:19 pm
You need to work with the Exchange admins to find out why those addresses are blocked. This is not an issue with SQL Server.
Jeffrey Williams
“We are all faced with a series of great opportunities brilliantly disguised as impossible situations.”
― Charles R. Swindoll
How to post questions to get better answers faster
Managing Transaction Logs
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply