Whats the easiest way to send an email to a user showing them the items they have purchased. I have used the this code:
String subject = "Thank you";
// String subject = request.getParameter("subject");
message.setSubject(subject);
String text = "Thank you, " + request.getParameter("name") + ", for your purchase";
String regard = "Best Regards,";
But the String subject needs to somehow reference the items that are in the shopping cart..How can this be done.