Hello there,
I'm having trouble finishing the try out: Sending e-mail messages.
Once I try this in the browser it shows the following error:
Can some one help me with this please?
Thanks
Server Error in '/' Application.
--------------------------------------------------------------------------------
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 65.55.162.200:25
Exception Details: System.Net.Sockets.SocketException: 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 65.55.162.200:25
Source Error:
Line 17: myMessage.To.Add(new MailAddress("
[email protected]", "argonz"));
Line 18: SmtpClient mySmtpClient = new SmtpClient();
Line 19: mySmtpClient.Send(myMessage);
Line 20: }
Line 21: }
Source File: c:\BegASPNET\Site\Demos\Email.aspx.cs Line: 19
**************
I checked the web.config and it looks like this
<mailSettings>
<smtp deliveryMethod="Network" from="argonz <
[email protected]>">
<network host="smtp.live.com" userName="
[email protected]" password= "******"
port="25" />
</smtp>
</mailSettings>