title: Can I change the sender name for sending email in MVC .net Application?
body: <p>I have the following code.Now I don't want to display my email address as sender address instead I need a friendly name. Is there any way to achieve this?</p>
  
  <pre><code>MailMessage mail = new MailMessage();
  
  SmtpClient smtpServer = new SmtpClient("smtp.gmail.com");
  smtpServer.Credentials = new System.Net.NetworkCredential("userName", "password");
  smtpServer.Port = 587;
  
  mail.From = new MailAddress("myemail@gmail.com");
  mail.To.Add("recepient@gmail.com");
  mail.Subject = "Password recovery";
  mail.Body = "Recovering the password";
  
  smtpServer.Send(mail);
  </code></pre>
  
  <p>Can I change the mail.From?? </p>