Created email sending code using velocity. Its working fine if used as stand alone.
But problem arises when the velociy code gets integrated with Spring batch process.
The problem is : in the email, its showing html tags and emoves the header.
Can somebody provide a way to come over this problem.