struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Bonevich <bonev...@telocity.com>
Subject Re: [Somewhat OT] Sending HTML email using struts/java/javamail
Date Thu, 25 Apr 2002 03:08:33 GMT
Could you open an InputStream on an URLConnection on the jsp page, then 
read that stream into the mail object?  That would be one way to do it 
and leverage the existing app.

jeff


Edward Muller wrote:

> 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...
> 
> 
> 


-- 
Jeffrey Bonevich
Ann Arbor, Michigan
bonevich@telocity.com
http://www.bonevich.com

Hwæt! Wë Gär-Dena   in geär-dagum,
peod-cyninga,       prym gefrünon,
hü ða aepelingas   ellen fremedon!


--
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