title: Formatting String in JAVA and EMAIL
body: <p>I have formatted a report and saved it in a String like below..</p>
  
  <p><a href="https://i.stack.imgur.com/KoO08.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KoO08.png" alt="enter image description here"></a></p>
  
  <p>I am trying to send an email using Javax.mail of this content. However, the String gets messed up and doesn't look like this when I get the email.</p>
  
  <p>is there a way to have the String the same way as above and receive the email.</p>
  
  <p>Here is the Email component I use to send email.
  <a href="https://i.stack.imgur.com/QmlfC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QmlfC.png" alt="enter image description here"></a></p>
  
  <p>messageBody contains the String.</p>
  
  <p>The messed up Report looks like this... </p>
  
  <p><a href="https://i.stack.imgur.com/pUe8s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pUe8s.png" alt="enter image description here"></a></p>