I have this code

Code:
try {

Message message = new MimeMessage(session);
message.setFrom(new InternetAddress("from-email@gmail.com"))…
message.setRecipients(Message.Recip…
InternetAddress.parse("to-email@gm…
message.setSubject("Testing Subject");
message.setContent("<html>Dear Mail Crawler,"
+ "\n\n No spam to my email, please!<html>");

Transport.send(message);

System.out.println("Done");

} catch (MessagingException e) {
throw new RuntimeException(e);
}
It is working and it sends the content as HTML. How do I insert an already created <div> content?It has jsp coding also inside the DIV,not just pure HTML. I am passing the content as a String to this "setContent",from a JSP file. Email sending class is saved in .java format