I am sending an email from the website salebins.com but it shows an error like this:- "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 72.167.82.11:25". Please check this url http://salebins.w05.Winhost.com/mail.aspx I am using the following code for sending mails MailMessage mail = new MailMessage(); //set the addresses mail.From = new MailAddress("[email protected]"); mail.To.Add("[email protected]"); //set the content mail.Subject = "This is an email"; mail.Body = "This is from system.net.mail using C sharp with smtp authentication."; //send the message SmtpClient smtp = new SmtpClient("mail.salebins.com"); smtp.Port = 587; smtp.EnableSsl = true; NetworkCredential Credentials = new NetworkCredential("[email protected]", "support123"); smtp.Credentials = Credentials; smtp.Send(mail); lblMessage.Text = "Mail Sent"; Please help me to solve the issue.
Are you planning to use Winhost mail servers? According to the whois record, your domain name is not pointing to our DNS servers. salebins.com Domain servers in listed order: NS57.DOMAINCONTROL.COM NS58.DOMAINCONTROL.COM You may want to contact your registrar and have them update the name servers to point to Winhost. http://support.Winhost.com/KB/a507/general-Winhost-dns-server-information.aspx