title: Javamail on Android Studio, issues with Message.getContent()
body: <p>I am having some pretty strange issues when calling the Javamail Message.getContent() command on Android Studio.</p>
  
  <p>My app requires the display of email contents, which I know will always be plain text, so I set the content of a text view object in the following way:</p>
  
  <pre><code>contentTextView.setText(message.getContent().toString())
  </code></pre>
  
  <p>However this does not set the text on the app display. The text simply doesn't change.</p>
  
  <p>What is strange is that if I set the text as the Sent date instead:</p>
  
  <pre><code>contentTextView.setText(message.getSentDate().toString())
  </code></pre>
  
  <p>It works exactly as expected. Even more puzzling, if I simply try to print the message to the console:</p>
  
  <pre><code>System.out.println(message.getContent().toString())
  </code></pre>
  
  <p>It fails to print. This is despite the fact that running the same command in command prompt, on the same email, works fine.</p>
  
  <p>So it seems to me that Android Studio is not happy with the message.getContent() command. But my hours of debugging have not figured out why.</p>