struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Reumann <>
Subject Re: [Somewhat OT] Sending HTML email using struts/java/javamail
Date Thu, 25 Apr 2002 04:20:25 GMT
On Wednesday, April 24, 2002, 9:13:17 PM, Edward Muller wrote:

EM> I have an internal application that needs to send a html email
EM> (management choice, not mine). The application is a mini struts
EM> application, but I need to manually format the html email using a
EM> large string and constantly appending to it and then I send the
EM> email via javamail.

EM> Does anyone know of a better way?

    I like to write the html page to a file. Then with the java.mail
    api you can send the file you created (something.html) as an

EM> I'd like to just pass my form bean to another jsp, get the results back
EM> (formatted as HTML) and then use javamail to send the email...



"As the light changed from red to green to yellow and back to red
again, I sat there thinking about life. Was it nothing more than a
bunch of honking and yelling? Sometimes it seemed that way."
  -Jack Handey

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message