I am looking for a way to define two pattern solvers that can be used to process thymeleaf mail in a spring boot application. I need this because I have an html template and a text template. Both are required to provide rich text and text content in the letter.
All configuration must be done in the application.properties properties or through the properties of the environment.
I was able to identify only one pattern recognizer:
spring.thymeleaf.check-template-location=true spring.thymeleaf.prefix=classpath:/mails/ spring.thymeleaf.excluded-view-names= spring.thymeleaf.view-names= spring.thymeleaf.suffix=.html spring.thymeleaf.mode=HTML5 spring.thymeleaf.encoding=UTF-8 spring.thymeleaf.content-type=text/html spring.thymeleaf.cache=true
I would be happy if someone could give me a hint or show me the right direction to find a solution.
source share