title: goDaddy SMTP-Unable to read data from the transport connection: net_io_connectionclosed
body: <p>I am trying to set up mail functionality using goDaddy smtp servers,Go daddy support is also not very useful here.</p>
  
  <p>I have tried these servers:</p>
  
  <p><em>relay-hosting.secureserver.net</em> -Errors-Unable to connect\</p>
  
  <p><em>smtpout.secureserver.net</em> -Errors-Unable to read data from the transport connection: net_io_connectionclosed</p>
  
  <p>This is what goDaddy says:</p>
  
  <p><img src="https://i.stack.imgur.com/3KKM7.png" alt="enter image description here"></p>
  
  <p>This is my code snippet:
  </p>
  
  <pre><code>MailMessage mail = new MailMessage("signup@xxx-xxx.com", to);
  SmtpClient client = new SmtpClient();
  client.Host = "smtpout.asia.secureserver.net";
  //Tried "relay-hosting.secureserver.net" -Errors-Unable to connect
  //Tried "smtpout.secureserver.net" -Errors-Unable to read data from the transport connection: net_io_connectionclosed
  client.Port = 25;
  //Tried 80, 3535, 25, 465 (SSL)
  client.UseDefaultCredentials = false;
  client.DeliveryMethod = SmtpDeliveryMethod.Network;
  client.EnableSsl = false;
  client.ServicePoint.MaxIdleTime = 1;
  client.Timeout = 1000;
  client.Credentials = new NetworkCredential("signup@xxx-xxx.com", "xxx-xxx");
  mail.IsBodyHtml = true;
  mail.Subject = "xxx-xxx.com Account Activation";
  
  mail.Body = SomeBigHTMLstring;
  client.Send(mail);
  mail.Dispose();
  </code></pre>
  
  <p>and this is the error page am getting</p>
  
  <p><img src="https://i.stack.imgur.com/Wk0rU.png" alt="enter image description here">
  <img src="https://i.stack.imgur.com/wB3fC.png" alt="enter image description here"></p>
  
  <p>Help me out guys.</p>