Closed kopax closed 4 years ago
Hi @Sargue,
I am importing a String that is an HTML builded with thymeleaf, I'd like to send the email with HTML content, but not sure how I can do, I have tried to use Body.builder().p(myHtml), also tried .text(myHtml), I always end up with text.
String
Body.builder().p(myHtml)
.text(myHtml)
How can I send the html myself?
You closed the issue, I guess you found the html() method. :-)
html()
Indeed, I did, thank you
Hi @Sargue,
I am importing a
String
that is an HTML builded with thymeleaf, I'd like to send the email with HTML content, but not sure how I can do, I have tried to useBody.builder().p(myHtml)
, also tried.text(myHtml)
, I always end up with text.How can I send the html myself?