Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Email Template Library in Java [closed]

I know that there is a library called FreeMarker to create Email templates for Java. Do you think this library is suitable to use in enterprise projects? Is there any other libraries to create email template for java?

like image 767
Maksim Avatar asked Jul 24 '09 06:07

Maksim


1 Answers

Freemarker works well, and is very powerful. Velocity has a simpler syntax, is somewhat less powerful, and is a lot more forgiving wrt. nulls (variables not being populated).

I've used both, and Velocity is very easy to get started with. Freemarker (despite its stricter implementation) offers a lot more in terms of 'correctness' and facilities.

like image 65
Brian Agnew Avatar answered Sep 23 '22 09:09

Brian Agnew