Freitag, 27. Juli 2012 19:59
I'm using SQL Server 2012 and trying to setup Database Mail but the error I get every time I try to send a mail is:
Date 7/27/2012 2:34:27 PM
Log Database Mail (Database Mail Log)
Log ID 73
Process ID 6792
Mail Item ID 29
Last Modified 7/27/2012 2:34:27 PM
Last Modified By sa
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 4 (2012-07-27T14:34:27). Exception Message: Cannot send mails to mail server. (Mailbox unavailable. The server response was: 5.7.1 Client does not have permissions to send as this sender).
I've followed the online MSDN information on how to setup Database Mail and I'm using the same SMTP server and configuration that works on my SQL 2008 system but I want to get it working through my 2012 server.
Tell me what else you'd need to know to help.
This posting is provided "AS IS" with no warranties, and confers no rights.
Samstag, 28. Juli 2012 01:00
Add the ip address to the SMTP relay, it is the issue when you Physical IP is not having access over SMTP relay.
If its working fine for SLQ 2008 & not for SQL 2012 then may a case that some changes also happen on SMTP relay that is not is your knowledge.
Please click the Mark as Answer or Vote As Helpful if a post solves your problem or is helpful!
Samstag, 28. Juli 2012 16:00Moderator
I suppose that you know this issue :
Have a nice day
PS : i think that the important part of the error message is "Client does not have permissions to send as this sender".
Please, could you have a look at ?
and especially :
But i am far to be a specialist of Database Mail ( even if i am using SMO to send e-mails at the end of several tasks as SQL Server backups/restores )
Have a nice day
Mark Post as helpful if it provides any help.Otherwise,leave it as it is.