I understand. I'm using the wicket-contrib-velocity package for some page generation, but I am unsure how I would generate a template /just/ for an email. Would you have an example of that? Or be able to point me to a tutorial, etc.?
Much appreciated. Eelco Hillenius wrote: > > For the actual sending, you need to use Java's normal mail API > (http://java.sun.com/products/javamail/) or e.g. Spring's mail module. > > If you want to create emails based on templates with some variable > substibution, I'd recommend you use e.g. Velocity for that. > > Eelco > > >> I DID search in the forums, and couldn't find reference to sending emails >> from within the framework. I did find a post where someone mentioned >> writing there own class for doing this. >> >> Does that mean there isn't any "built-in" classes that handle sending of >> emails from within Wicket? If not, can someone provide a solution or >> example of how I might accomplish this? I am a newbie to Wicket, and even >> a >> little to Java in general, so any help or reference points would be very >> much appreciated. >> >> Specifically, I need to send an email from within Wicket, where the email >> contains some dynamic data I would "insert" before sending. >> >> Thanks! >> -- >> View this message in context: >> http://www.nabble.com/Sending-Emails-Via-Wicket--tf3639601.html#a10164083 >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 express and take >> control of your XML. No limits. Just data. Click to get it now. >> http://sourceforge.net/powerbar/db2/ >> _______________________________________________ >> Wicket-user mailing list >> Wicket-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/wicket-user >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > > -- View this message in context: http://www.nabble.com/Sending-Emails-Via-Wicket--tf3639601.html#a10164511 Sent from the Wicket - User mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user