title: How do I send HTML email in Spring MVC?
body: <p>I have successfully sent simple email using this:</p>
  <pre><code>SimpleMailMessage mailMessage = new SimpleMailMessage();
  
  mailMessage.setTo(&quot;someone@abc.example&quot;);
  mailMessage.setSubject(&quot;This is the test message for testing gmail smtp server using spring mail&quot;);
  mailMessage.setFrom(&quot;abc@gmail.com&quot;);
  mailMessage.setText(&quot;This is the test message for testing gmail smtp server using spring mail. \n&quot; +
          &quot;Thanks \n Regards \n Saurabh &quot;);
  mailSender.send(mailMessage);
  </code></pre>
  <p>What setting I need to chnage so that I can send HTML emails</p>