struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Bush <ekb...@swbell.net>
Subject Re: [Somewhat OT] Sending HTML email using struts/java/javamail
Date Thu, 25 Apr 2002 14:03:31 GMT
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" <emuller@learningpatterns.com>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
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: emuller@learningpatterns.com
>
> http://www.learningpatterns.com
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message