Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8154087
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T16:13:44+00:00 2026-06-06T16:13:44+00:00

I have built a feedback page.I am trying to send mail from the page.The

  • 0

I have built a feedback page.I am trying to send mail from the page.The client provided me with the SMTP Server name , Email ID and Password.But when I try to send mail from the page I am getting following 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 64.37.118.141:25

Here is my code

MailMessage feedBack = new MailMessage();

//feedBack.To.Add("master@myclient.com");
feedBack.From = new MailAddress("master@myclient.com");
feedBack.Subject = "Mail from Explor Corporate Website.";  
feedBack.Body = "Sender Name: " + Name.Text + "<br/><br/>Sender Last Name:"+LastName.Text+"<br/><br/>Sender Company:"+Company.Text+"<br/><br/>Sender Designation"+Designation.Text+"<br/><br/>Sender Email:"+Email.Text+"Sender Phone No:"+ PhoneNo.Text+"Sender Enquiry:"+Enquiry.Text;
feedBack.IsBodyHtml = true;

SmtpClient smtp = new SmtpClient();
smtp.Host = "smtp.myclient.com"; //Or Your SMTP Server Address
//smtp.Port = 587;
smtp.EnableSsl = true;
smtp.Credentials = new System.Net.NetworkCredential("master@myclient.com", "*****");
//Or your Smtp Email ID and Password

smtp.Send(feedBack);

Can anyone help me out with this?

Any suggestions are welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T16:13:45+00:00Added an answer on June 6, 2026 at 4:13 pm

    This most likely indicates you don’t have either the correct host name, or the correct port.

    If you are using SSL then the default SMTP port which is 25 will not work. I noticed that you did have a line setting the port what was commented out.

    Try setting the port to 587 and if that doesn’t work, try port 465 which is sometimes used for secure SMTP.

    If that doesn’t work either confirm with your client the correct port and host name..

    And another thing you may want to double check is whether the SMTP server you are using does indeed support/require SSL. If it does not support SSL that you will need to set the EnableSSL option to false and try connecting on the default port of 25 (or whatever port they are using).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have built a bulk email sending website for a client that is required
I have built up an array of objects, created from a class, I wrote
I have built a mock object using EasyMock, and I'm trying to have the
I have built the UI for my Google Chrome Extension, but I am trying
I have client that built a website that is part static html and part
Is it possible to send mail asycronously using PHP while giving live user feedback
I have an application built with PhoneGap , and I want to send it
I'm trying to improve my build times and want to have some feedback in
I have built a site which requires user to login. Now I have decided
I have built so far an application that allows the user to drag and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.