title: From Address Shows NetworkCredential User Email
body: <p>I have made an web application for sending e-mail. It works fine.</p>
  
  <p>The problem is receiver end - Receiver shows NetworkCredential User Email as From Email.
  And the email provided as From Email doesn't exist.</p>
  
  <p>i want to show the suplied email not the networkcredential user email to the receiver.</p>
  
  <p>sample code-</p>
  
  <pre><code>using System.Net.Mail;
  
  
  MailMessage oMsg = new MailMessage();
  oMsg.From = new MailAddress("sender@somewhere.com","Diplay Name");
  oMsg.To.Add(new MailAddress("recipient@somewhere.com")); 
  oMsg.Subject = "Send Using Web Mail";
  oMsg.Body ="Hi..";
  System.Net.Mail.SmtpClient s = new System.Net.Mail.SmtpClient("host", port_no);
  System.Net.NetworkCredential nc = new System.Net.NetworkCredential("user", "password");
  s.EnableSsl = true;
  s.UseDefaultCredentials = false;
  s.Credentials = nc;
  s.Send(oMsg);
  </code></pre>
  
  <p>The receiver gets from email is "user" but i want to show "sender@somewhere.com".</p>
  
  <p><br /></p>