title: C# - SMTP - GoDaddy - Send Email
body: <p>What am I doing wrong? Im trying to send a email using c# with GoDaddy webhost.</p>
  
  <pre><code>SmtpClient client = new SmtpClient("relay-hosting.secureserver.net", 465);
  client.EnableSsl = true;
  client.UseDefaultCredentials = false;
  client.Credentials = new NetworkCredential("emailGODADDY", "password");
  
  MailMessage message = new MailMessage("emailGODADDY", "otherEmail");
  message.Subject = txtSubject.Text;
  message.Body = txtContent.Value;
  
  client.Send(message);
  </code></pre>