Suggestion: Be sure to use a StringBuffer for your appends - it sounds like you're using a lot of '+', which can hinder performance a great deal.
So far as sending HTML mail goes, I use the mailer taglib. I'm not sure I understand your problem entirely, but the mailer taglib lets your send mail easy as pie! http://jakarta.apache.org/taglibs/doc/mailer-doc/intro.html If nothing else, it's a good plug for other useful Apache technology =) HTH, Eddie ----- Original Message ----- From: "Edward Muller" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, April 24, 2002 8:13 PM Subject: [Somewhat OT] Sending HTML email using struts/java/javamail > I have an internal application that needs to send a html email > (management choice, not mine). The application is a mini struts > application, but I need to manually format the html email using a large > string and constantly appending to it and then I send the email via > javamail. > > Does anyone know of a better way? > > I'd like to just pass my form bean to another jsp, get the results back > (formatted as HTML) and then use javamail to send the email... > > > -- > -------------------------------------------------- > Edward Muller - Director of Information Services > LearningPatterns.com Inc. > > Mobile: 973.715.0230 > NYC: 212.487.9064 x115 > > Email/Jabber: [EMAIL PROTECTED] > > http://www.learningpatterns.com > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

