title: Mail send using no credentials C#
body: <p>everyone.
  I need to send a No-reply mail using C#. Network admin told me that the SMTP server is configured to send  this type of mails (using any account without a password). I'm trying this:</p>
  
  <pre><code>System.Net.NetworkCredential credencials = new System.Net.NetworkCredential();
  credencials.UserName = "mail@domain.com";
  MailMessage mail = new MailMessage();
  SmtpClient SmtpServer = new SmtpClient();
  mail.To.Add(email);
  mail.From = new MailAddress("mail@domain.com");
  mail.Subject = subject;
  mail.IsBodyHtml = true;
  mail.Body = message;
  SmtpServer.Host = "smtpserver";
  SmtpServer.Port = 25;
  SmtpServer.Credentials = credencials;
  SmtpServer.EnableSsl = true;
  SmtpServer.DeliveryMethod = System.Net.Mail.SmtpDeliveryMethod.Network;
  SmtpServer.Send(mail);
  </code></pre>
  
  <p>I've tried without credentials, using Empty string as password, but nothing seems to work. </p>
  
  <p>Am I forgetting  any special parameter or configuration?</p>