Send combined plain text/HTML mail with Spring and JavaMail
In order to send both Text and HTML parts, you need to use a different setText()
method:
public void setText(String plainText, String htmlText)
If you are setting the plain text to your HTML content, you may need to parse the HTML to remove the HTML tags.