About freemarker

Diep Thanh Tu
Sep 3, 2018 · 1 min read

What is freemarker? What is it used for?

Freemarker is a Java-based template engine: is designed to support HTML web pages in applications following the MVC pattern, often used for generating source code, configuration files or e-mails.

FreeMarker in simple sending mail project

As usual, the process of projects sending mail with freemarker is: Project configuration → create models, utilities, properties and other supported things → create freemarker template → create service → fill data and run app.

Eg: https://memorynotfound.com/spring-mail-sending-email-freemarker-html-template-example/

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade