Open
Description
After updating Thymeleaf to v3 (#406) we can use new textual template mode for e-mails.
See:
- http://www.thymeleaf.org/doc/articles/springmail.html
- http://stackoverflow.com/questions/25610281/spring-boot-sending-emails-using-thymeleaf-as-template-configuration-does-not
- http://www.baeldung.com/spring-thymeleaf-3
- http://www.thymeleaf.org/doc/articles/thymeleaf3migration.html ("Textual template modes" chapter)
- [MAJOR FEAT] New syntax for textual template modes thymeleaf/thymeleaf#395
- http://blog.codeleak.pl/2017/03/getting-started-with-thymeleaf-3-text.html
- https://stackoverflow.com/questions/41599954/how-to-process-txt-e-mail-template-with-thymeleaf
- https://springhow.com/spring-boot-email-thymeleaf/
We should use unescaped ([(...)]
) form in the templates.