I am using
java mail api to send emails in my application.The email is getting sent properly.But I am struggling with the content where I have a
jsp page that includes 2 other jsp pages(header and footer).How to send this jsp page as the content.Currently I am using the following way to set the content of the email
Certainly this is extremely tedious.Is there a way out?I am calling the content setter method (for the email) from an action class in
Struts 2