title: Android's Email and GMail apps remove HTML formatting from emails
body: <p>I have done some searches and I don't think there is anything that answers my question for GMail version 4.6</p>
  
  <p>My problem is that I am unable to render HTML formatting within emails sent from an android app I have created. I am using intents with a text/html type defined. I believe the problem is caused by the GMail application because it strips the HTML from my email before sending.</p>
  
  <p>I have added the code that may be causing the issue unless it is GMail.</p>
  
  <pre><code>String body =
         "&lt;table border='1'&gt;" +
                "&lt;tr&gt;" +
                       "&lt;td&gt;Paint Cost(Exc VAT)&lt;/td&gt;" +
                       "&lt;td&gt;£" +  String.format("%.2f", (subtotal - ((subtotal * 20)/100))) + "&lt;/td&gt;" +
                "&lt;/tr&gt;" +
                "&lt;tr&gt;" +
                       "&lt;td&gt;Paint Cost(Inc VAT)&lt;/td&gt;" +
                       "&lt;td&gt;£" + String.format("%.2f", subtotal) + "&lt;/td&gt;" +
                "&lt;/tr&gt;" +
                "&lt;tr&gt;" +
                       "&lt;td&gt;Undercoat Cost(Exc VAT)&lt;/td&gt;" +
                       "&lt;td&gt;£" +  String.format("%.2f", (undercoat - ((undercoat * 20)/100))) + "&lt;/td&gt;" +
                "&lt;/tr&gt;" +
                "&lt;tr&gt;" +
                       "&lt;td&gt;Undercoat Cost(Inc VAT)&lt;/td&gt;" +
                       "&lt;td&gt;£" +  String.format("%.2f", undercoat) + "&lt;/td&gt;" +
                "&lt;/tr&gt;" +
                "&lt;tr&gt;" +
                       "&lt;td&gt;Total Cost(Exc VAT)&lt;/td&gt;" +
                       "&lt;td&gt;£" +  String.format("%.2f", (total - ((total * 20)/100))) + "&lt;/td&gt;" +
                "&lt;/tr&gt;" +
                "&lt;tr&gt;" +
                       "&lt;td&gt;Total Cost(Inc VAT)&lt;/td&gt;" +
                       "&lt;td&gt;£" +  String.format("%.2f", total) + "&lt;/td&gt;" +
                "&lt;/tr&gt;" +
                "&lt;tr&gt;" +
                       "&lt;td&gt;Total VAT&lt;/td&gt;" +
                       "&lt;td&gt;£" +  String.format("%.2f", ((total *20)/100)) + "&lt;/td&gt;" +
                "&lt;/tr&gt;" +
         "&lt;/table&gt;";
  
  emailIntent.setType("text/html");
  emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[]{email});
  emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Paint Cost");
  emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, Html.fromHtml(body)
  );
  
  startActivity(Intent.createChooser(emailIntent, "Send mail..."));
  </code></pre>
  
  <p>Thanks in advance.</p>
  
  <p>EDIT 1</p>
  
  <pre><code>String body =
         "&lt;table border='1'&gt;" +
                "&lt;tr&gt;" +
                       "&lt;td&gt;Paint Cost(Exc VAT)&lt;/td&gt;" +
                       "&lt;td&gt;£" +  String.format("%.2f", (subtotal - ((subtotal * 20)/100))) + "&lt;/td&gt;" +
                "&lt;/tr&gt;" +
                "&lt;tr&gt;" +
                       "&lt;td&gt;Paint Cost(Inc VAT)&lt;/td&gt;" +
                       "&lt;td&gt;£" + String.format("%.2f", subtotal) + "&lt;/td&gt;" +
                "&lt;/tr&gt;" +
                "&lt;tr&gt;" +
                       "&lt;td&gt;Undercoat Cost(Exc VAT)&lt;/td&gt;" +
                       "&lt;td&gt;£" +  String.format("%.2f", (undercoat - ((undercoat * 20)/100))) + "&lt;/td&gt;" +
                "&lt;/tr&gt;" +
                "&lt;tr&gt;" +
                       "&lt;td&gt;Undercoat Cost(Inc VAT)&lt;/td&gt;" +
                       "&lt;td&gt;£" +  String.format("%.2f", undercoat) + "&lt;/td&gt;" +
                "&lt;/tr&gt;" +
                "&lt;tr&gt;" +
                       "&lt;td&gt;Total Cost(Exc VAT)&lt;/td&gt;" +
                       "&lt;td&gt;£" +  String.format("%.2f", (total - ((total * 20)/100))) + "&lt;/td&gt;" +
                "&lt;/tr&gt;" +
                "&lt;tr&gt;" +
                       "&lt;td&gt;Total Cost(Inc VAT)&lt;/td&gt;" +
                       "&lt;td&gt;£" +  String.format("%.2f", total) + "&lt;/td&gt;" +
                "&lt;/tr&gt;" +
                "&lt;tr&gt;" +
                       "&lt;td&gt;Total VAT&lt;/td&gt;" +
                       "&lt;td&gt;£" +  String.format("%.2f", ((total *20)/100)) + "&lt;/td&gt;" +
                "&lt;/tr&gt;" +
         "&lt;/table&gt;";
  
  emailIntent.setType("text/html");
  emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[]{email});
  emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Paint Cost");
  emailIntent.putExtra(android.content.Intent.EXTRA_STREAM, Html.fromHtml(body)
  );
  
  startActivity(Intent.createChooser(emailIntent, "Send mail..."));
  </code></pre>
  
  <p>However this seems to crash the GMail app instead.</p>