Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JSP as Email template

Tags:

java

email

jsp

Is there a way to send a MIME email in which the body of the email is derived from a JSP? I need to send an email with Javamail which contains a table and I figure it would be convenient if I could use a JSP to do all the formatting and layout.

like image 226
iMack Avatar asked Jan 19 '09 23:01

iMack


1 Answers

In this thread, Suggestions for Java Email Templating, a pal Jack Leow is telling how he did that using JSP/Servlet. That might be of any help.

like image 65
Adeel Ansari Avatar answered Sep 22 '22 02:09

Adeel Ansari