Spring Mail – Sending Email with Thymeleaf HTML Template Example

You may also like...

Subscribe
Notify of
guest
6 Comments
Oldest
Newest
Inline Feedbacks
View all comments
Nursultan Sadyk
Nursultan Sadyk
February 6, 2018 12:34

Error resolving template “template”, template might not exist or might not be accessible by any of the configured Template Resolvers

Spring boot don’t see template file, can u help me ? I use Spring Security and JWT too

Memorynotfound.com
Memorynotfound.com
February 6, 2018 13:33

Take a look at the project structure, can you verify the template exists in the src/main/resources/templates/email-template.html location

Jens
Jens
March 1, 2018 04:20

Same error. I debugged, the FileNotFoundException threw. Any idea for this case?

Ajit Kumar
Ajit Kumar
April 17, 2018 20:53

Hey,

Loved the post. Thanks a lot for this detailed steps and code.

-Ajit

rakesh
rakesh
October 31, 2019 10:53

There is no getModel() in mail

6
0
Would love your thoughts, please comment.x
()
x