struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Muller <emul...@learningpatterns.com>
Subject Re: [Somewhat OT] Sending HTML email using struts/java/javamail
Date Thu, 25 Apr 2002 18:37:56 GMT
You still end up writing HTML in the servlet, which is what I want to
avoid.

On Thu, 2002-04-25 at 00:20, Rick Reumann wrote:
> 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
>     attachment.
> 
> 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...
> 
> 
> 
> 
> 
> --
> 
> Rick
> 
> mailto:maillist@reumann.net
> 
> "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:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
-- 
--------------------------------------------------
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>


Mime
View raw message