Click here to Skip to main content
15,901,001 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
I want to send email from my website.Two days before the code was working properly and the mail have been sent successfully. But without changing the code, now it shows an error: smtpException was unhandled by user code; Failure sending mail.
"System.Net.Sockets.SocketException: A socket operation was attempted to an unreachable network 74.125.127.109:25".
Please help me to solve this....
Thank you.....
Posted
Updated 22-Jul-11 18:43pm
v2
Comments
shefeekcm 23-Jul-11 0:45am    
what is the response you get when you tried to snd mail.

Looks like the server you were using has gone out of service and is down.
 
Share this answer
 
Comments
Neha Thanka 23-Jul-11 1:57am    
Thank u so much...
 
Share this answer
 
Try enabling SSL and use port 587

Also, always check for your anti virus
 
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