struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adolfo Miguelez" <pell...@hotmail.com>
Subject RE:[OT] Generate HTML e-mail within Struts
Date Wed, 16 Apr 2003 16:55:09 GMT
Hi,

I have the same requirement, and Mailer taglib looks like really promissing. 
Thanks.

Just a question: could I send HTML with embedded images within <mt:message>[ 
stuff ]</mt:message> tag?

Documentation does not includes any example of this.

To invoke from struts, i.e. send the email, I suppose that a forward to 
"success" referring the JSP with the mailer tags is the way to go. Is not 
it?

TIA,

Adolfo.

>From: "Raible, Matt" <Matt_Raible@cable.comcast.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: "'Struts Users Mailing List'" <struts-user@jakarta.apache.org>
>Subject: RE: Generate HTML e-mail within Struts
>Date: Wed, 16 Apr 2003 09:39:28 -0600
>
>This would probably be easy to do using the mailer tag library from
>Jakarta's Taglibs project.
>
>HTH,
>
>Matt
>
> > -----Original Message-----
> > From: Tim Shadel [mailto:tim@zserve.com]
> > Sent: Wednesday, April 16, 2003 9:07 AM
> > To: Struts Users Mailing List
> > Subject: Re: Generate HTML e-mail within Struts
> >
> >
> > I tried something like that once, but the way I did it was kind of
> > awkward.  I made a new web request from within my Action to a
> > URL that
> > included the jsessionid to let my JSP use Struts.  It just was messy,
> > and it may even violate specs (I have no idea).
> >
> > We actually use Velocity for our e-mail templates (but not
> > the rest of
> > our site) and that's made it really easy to generate HTML e-mail from
> > within an Action or EJB.
> >
> > Tim
> >
> > Dhruva B. Reddy wrote:
> > > My application needs to send HTML formatted e-mail.  As the
> > contents of
> > > the message may need to change often, I need to avoid
> > hardcoding this.
> > >
> > > Is there a way to write a JSP so that HTML content can be
> > generated and
> > > fed into an e-mail message through JavaMail?
> > >
> > > Thanks,
> > > Dhruva
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > The New Yahoo! Search - Faster. Easier. Bingo
> > > http://search.yahoo.com
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


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


Mime
View raw message