I Have followd the step of sening email through smtp.
i coded like below
protected void btnSubmit_Click(object sender, EventArgs e)
NetworkCredential cred = new NetworkCredential("firstname.lastname@example.org", "xxxxxxx");
MailMessage Msg = new MailMessage();
Msg.From = new MailAddress("email@example.com");
Msg.Subject = "Enquiry for Interior Design";
string sMessage = "Dear Admin, <br /><br />"
+ "Another user seeking for interior design through www.jjinterirorsdelhi.com<br /><br />";
sMessage += "<u>Following are the User details :</u><br /><br /> Name: " + txtName.Text
+ "<br />Email: " + txtEmail.Text
+ "<br />Phone: " + txtPhone.Text
+ "<br />Message: " + txtMsg.Text;
Msg.Body = sMessage;
SmtpClient client = new SmtpClient("smtp.live.com", 995);
client.Credentials = cred;
client.EnableSsl = true;
lblSendMsg.Visible = true;
lblSendMsg.Text = "Your Enquiry has been sent sucessfully. Thank you";
Then it throw error like below--
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 184.108.40.206:995
how can i Solve it.