Skip to content

Tag: spring-boot

Inject html into thymeleaf template

I have thymeleaf templates lying in database, First I retrieve template and process it: So now processedTemplate contains html as a String. Then I retrieve another template and do basically the same, but I want also inject previous template into it, so the java code should look like: So what should I put into…

Send Email with Spring Boot

i have a Form with From/Tp Input field and TextArea as Box. I want to send Email using Spring Boot. How can i send Email Using Spring Boot? Thanks for Answers. Answer it works fine now That is my Controller That is my Service That is my property Files