* @throws IOException
*/
public void readBodyContent( boolean loadImages, MessageTextMode mode ) throws MessagingException, IOException {
init();
Preferences prefs = SessionManager.get().getPreferences();
MessageTextUtil.messageTextFromPart( this.message, this, loadImages, mode, prefs, 0 );
if ( StringUtils.isEmpty( this.messageTextPlain ) && StringUtils.isEmpty( this.messageTextHtml ) ) {
if ( !StringUtils.isEmpty( this.messageImageHtml ) && prefs.isShowHtml() ) {
this.messageTextHtml = this.messageImageHtml;
setHtmlMessage( true );
setTrustImages( true );
setHasImages( true );
}