V
V
Vitaly the Wise2017-06-19 20:17:59
Java
Vitaly the Wise, 2017-06-19 20:17:59

How to insert html text when sending email Java?

I am sending a message following the example of devcolibri.com/1972 . It is necessary to insert a table into the message, but instead of the original form, its code is displayed. How can I fix this

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
al_gon, 2017-06-19
@tapinambur0508

message.setContent(yourHtmlMessage, "text/html; charset=utf-8");

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question