You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Jan Grathwohl <ja...@kontrast.de> on 2008/06/06 16:28:55 UTC
Sending HTML email from Wicket app
Hi,
what is the preferred way to send HTML email messages from a Wicket
application? I could not find anything related to sending email in
the Javadocs, and no examples on the web.
My idea was to create a Wicket page for the content of the email,
render this page into a String, and then send the email with the
Jakarta Commons mail client. But I could not figure out how to do
that either. Is this possible, to instantiate a new WebPage object,
set the necessary fields, and then render it into a String variable
instead of writing it to the HTTP response? If yes, could somebody
tell me what I have to do?
BR and Thanks,
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Sending HTML email from Wicket app
Posted by James Carman <ja...@carmanconsulting.com>.
I would check the archives. This question has been asked/answered
many times before.
On Fri, Jun 6, 2008 at 10:28 AM, Jan Grathwohl
<ja...@kontrast.de> wrote:
> Hi,
>
> what is the preferred way to send HTML email messages from a Wicket
> application? I could not find anything related to sending email in the
> Javadocs, and no examples on the web.
>
> My idea was to create a Wicket page for the content of the email, render
> this page into a String, and then send the email with the Jakarta Commons
> mail client. But I could not figure out how to do that either. Is this
> possible, to instantiate a new WebPage object, set the necessary fields, and
> then render it into a String variable instead of writing it to the HTTP
> response? If yes, could somebody tell me what I have to do?
>
> BR and Thanks,
>
> Jan
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Sending HTML email from Wicket app
Posted by "Fabien D." <du...@hotmail.com>.
I try to do something like you, to send daily an email!!
For the moment, I have problems, but you can find more information here :
http://www.nabble.com/Generating-email-body-with-wicket-td14042459.html#a14042459
--
View this message in context: http://www.nabble.com/Sending-HTML-email-from-Wicket-app-tp17693496p17693836.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org