September 19, 2013 at 1:17 am
Hi i am trying to send database mail and using gmail as an smtp server.i have used my emailid,and password for credentials.port use is either 587 or 456.but i am getting following error.i got all this from net
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-09-19T11:50:46). Exception Message: Could not connect to mail server. (No such host is known). )
can anybody tell what could be reason , why it is giving error "No such host is known"
September 19, 2013 at 2:15 am
anoop.mig29 (9/19/2013)
Hi i am trying to send database mail and using gmail as an smtp server.i have used my emailid,and password for credentials.port use is either 587 or 456.but i am getting following error.i got all this from netThe mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2013-09-19T11:50:46). Exception Message: Could not connect to mail server. (No such host is known). )
can anybody tell what could be reason , why it is giving error "No such host is known"
YOu need to check your mailserver name/IP ? The must/should send the mail regardless the domain.
-------Bhuvnesh----------
I work only to learn Sql Server...though my company pays me for getting their stuff done;-)
September 19, 2013 at 11:38 am
Does this server have access to the internet?
Make sure you are using port 587 and that you are using SSL and basic authentication. Also verify that your user name and password are correct.
Jack Corbett
Consultant - Straight Path Solutions
Check out these links on how to get faster and more accurate answers:
Forum Etiquette: How to post data/code on a forum to get the best help
Need an Answer? Actually, No ... You Need a Question
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply