title: sender's address displayed rather than his name while sending with SimpleMailMessage in java
body: <p>I send mail using SimpleMailMessage from org.springframework.mail package.But on the receiver side shows sender's address.I want to set his name.What method will use for this?Is there any method that available in SimpleMailMessage Class?I am using spring with hibernate.</p>
  
  <p>code</p>
  
  <pre><code> public void sendmail(){
   String emailSubject = "Test Message";                                          
   String emailBody = "For testing";
   SimpleMailMessage simpleMailMessage = new SimpleMailMessage();     
   simpleMailMessage.setTo("sendermailid@gmail.com");
   simpleMailMessage.setCc("receivermailid@gmail.com");
   simpleMailMessage.setSubject(emailSubject);
   simpleMailMessage.setText(emailBody);
   mailSender.send(simpleMailMessage);
   }
  </code></pre>