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
 General SQL Server Forums
 New to SQL Server Administration
 DB Mail issue

Author  Topic 

ahmeds08
Aged Yak Warrior

737 Posts

Posted - 2012-10-16 : 06:52:28
Dear Experts,
I have setup a database mail and account,but when i try to send email it fails with error in the log:
"10/09/2012 23:03:58,,Error,1124,The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 6 (2012-10-09T23:03:58). Exception Message: Cannot send mails to mail server. (Mailbox unavailable. The server response was: 5.7.1 Unable to relay).<nl/>),7104,1049,,10/9/2012 11:03:58 PM,sa".

what could be the reason.
I am able to send email from outlook using the same email id used in the account config.

Please help please.

Thanks.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-10-16 : 09:34:12
did you set a profile for the same?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page

ahmeds08
Aged Yak Warrior

737 Posts

Posted - 2012-10-16 : 10:40:05
quote:
Originally posted by visakh16

did you set a profile for the same?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/





Yes,i have created a profile and mapped the account to it.
Go to Top of Page

jeffw8713
Aged Yak Warrior

819 Posts

Posted - 2012-10-16 : 13:27:29
This is an issue with your SMTP relay server. You need to talk to the group that manages that system and have them add your server.
Go to Top of Page

ahmeds08
Aged Yak Warrior

737 Posts

Posted - 2012-10-16 : 13:52:55
quote:
Originally posted by jeffw8713

This is an issue with your SMTP relay server. You need to talk to the group that manages that system and have them add your server.



Thanks Jeff,
will contact the respective person and update you.
Go to Top of Page

ahmeds08
Aged Yak Warrior

737 Posts

Posted - 2012-10-19 : 01:56:06
Hi Jeff,
Issue has been resolved.
The mail server given by them was wrong,now they have given the correct one and the mail is working fine.
Thanks for the help.
Go to Top of Page

jeffw8713
Aged Yak Warrior

819 Posts

Posted - 2012-10-20 : 08:58:30
You are welcome
Go to Top of Page
   

- Advertisement -