September 22, 2009 at 10:04 am
I have configured database mail using a gmail account. However when I send a test email the error log reports the following message:
Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 5 (2009-09-22T16:52:11). Exception Message: Could not connect to mail server. (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 72.14.221.111:587).
)
Does anyone know what the possible cause could be and how to resolve it?
Regards
Sauce1979
September 22, 2009 at 10:14 am
It looks like mail server(Exchange,SMTP) settings are incorrect , amend them and try again.
If everything is set correctly, then the test mail should work fine.
Pavan.
September 23, 2009 at 4:12 am
i have attached a copy of database configuration. From what I can see I have set it up correctly. I am just wondering if there is anything I need to do with gmail account to get it to work.
Regards
Sauce1979
September 23, 2009 at 4:21 am
September 23, 2009 at 4:29 am
What does Telnet mean and how do i do that?
September 23, 2009 at 5:01 am
eseosaoregie (9/23/2009)
What does Telnet mean and how do i do that?
on a high level, TELNET is a DOS based command which will tell you whether or not you are able to access any particular on specified port.
like in your case it will tell you if you can establish a connection to your exchange server on port 587.
go to command prompt and type telnet followed by the exchange server name/IP portnumber
September 23, 2009 at 5:16 am
OK i see. I have tried that and it said:
Could not open connection to the host, on port 587: Connect failed.
September 23, 2009 at 5:20 am
eseosaoregie (9/23/2009)
OK i see. I have tried that and it said:Could not open connection to the host, on port 587: Connect failed.
That is the problem. check it on port 25 or 2525 (Default port)
September 23, 2009 at 5:39 am
I tried it with port 25 and then it seems to connect and prompts me to press any key to continue. When i press a key it says connection to host lost.
September 23, 2009 at 5:53 am
eseosaoregie (9/23/2009)
I tried it with port 25 and then it seems to connect and prompts me to press any key to continue. When i press a key it says connection to host lost.
Seems like its connecting over the port 25. you can also give it a shot on 2525 and then try with the same port from SQL Server DB-Mail configuration.
Viewing 10 posts - 1 through 9 (of 9 total)
You must be logged in to reply to this topic. Login to reply