Chlock Posted March 6, 2014 Share Posted March 6, 2014 Bonjour, comment je peut faire pour que le html de ma chaine soit pris en compte body = "<h1>"+taille.getText()+"</h1>< /br><h1>"+poids.getText()+"</h1>"; //mon body MimeBodyPart content = new MimeBodyPart(); try { content.setContent(body, "text/plain"); } catch (MessagingException e) { e.printStackTrace(); } J'ai essayer escapeHtml() et from html mais rien n'y faitmerci les amis Link to comment Share on other sites More sharing options...
chpil Posted March 6, 2014 Share Posted March 6, 2014 En mettant un content-type à text/html au lieu de text/plain, peut-être ? ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.