There have been some similar questions in stackoverflow but none of them answers my question. We want to send html , emails to users after they complete some action. We have written email templates in xsl and use DOM elements to create nodes, add dynamic data, parse xsl and substitute data. Although this works fine, it eats up too much memory. Is there any alternate solution ?
I do not want to write html code in java.