Hi,
Hi,
I implimented a mail system as follows in Sql server 2008R2-:
Profile name ProfileDbMail
Ac name AcDbMail
Email address(outgoing): Dba@ourmailserver.com
(Not valid mail id in mail server)
Display :Databasemail from Binny
Reply email : Null
Server Name : ourmailserver.com
Port no :25
Ssl connection : Not Ticked
Annonymus Authentication enabled
I am using the above to send notifications thru an alert system in Sql server Agent through an operator when any of the job fails and when the last job succeeeds in the
maintenace plans running at night. My problem is that the database server is able to send mail internally that is it can
send a mail to all valid email id in our mail server. However it cannot send a mail to a
mail id of external exchange server like Yahoo.com or Gmail.com
The error shown in the logs of the databas email is as follows-:
Exception Message: Cannot send mails to mail server. (Mailbox unavailable.
The server response was: 5.7.1 Unable to relay).
What is the reason and how to overcome the problem?
How can we enable the mail relay in exchange server?
Thanking you in advance
Binny Mathew