79729646

Date: 2025-08-08 10:37:14
Score: 1
Natty:
Report link

Use setText :

MimeMessage m;
m.setText(body, "UTF-8", "html");

If you look at the source code, in the end you'll get :

m.setContent(body, "text/html; charset=UTF-8");
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: grigouille