How to generate content in this html format? ? ?
I saw a lot of string splicing on the Internet, but this doesn’t work, it’s too troublesome.
java language
黄舟2017-06-12 09:28:09
Java Mail, content writes your html codemessage.setContent(content, "text/html;charset=UTF-8")
为情所困2017-06-12 09:28:09
Here’s a way: If you don’t want to concatenate strings, you can use a template engine. For example: freemarker
ringa_lee2017-06-12 09:28:09
Use java mail framework, this is java development, java sends emails, a must-have medicine for home and travel