title: how to write the mail body in aligned format in javamail
body: <p>I will collect all the data from the database and put them inside a collection. I want to put all the data in that collection into my javamail body in the properly aligned format illustrated below. How should I put the list data inside the body content:</p>
  
  <pre><code>  EmployeeName:Ranjeeth.
    Login Time:09:30.
    Logout Time:18:30.
  </code></pre>
  
  <p>by using escape chars how to write in string?</p>