Click here to Skip to main content
15,887,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi frnds,

Error during sending email from asp.net c#

This is the error.

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 10.20.105.151:25

yesterday it was working, now its shows error

Please can you help me.

Thanks.
Posted

1 solution

Hi,

And you have doublechecked that port 25 outbound is open? Easy to check if you are able to login to the server and doing a "telnet 10.20.105.151 25" from a console window..

If not, you could always try to open a socket towards the port and adress using TcpClient.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900