help with contact form

Associate
Joined
12 Aug 2007
Posts
100
here is the error code i keep getting when the contact us form, it is meant to send the details to my email.
i have made an email address up just to post on here, just in case you point out the email address is wrong

can someone help

thanks in advance

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 83.245.63.64:25
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

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

Source Error:


Line 63: mailClient.Credentials =
Line 64: new System.Net.NetworkCredential("user", "pass");
Line 65: mailClient.Send(message);
Line 66: mailClient = null;
Line 67:
 
Last edited:
ive just changed the ip address and now i get this message

Server Error in '/' Application.
--------------------------------------------------------------------------------

Unable to read data from the transport connection: net_io_connectionclosed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.

Source Error:


Line 63: mailClient.Credentials =
Line 64: new System.Net.NetworkCredential("user", "pass");
Line 65: mailClient.Send(message);
Line 66: mailClient = null;
Line 67:

it is saying line 65 is the problem.
 
Last edited:
Back
Top Bottom