Using FreeMarker (or Velocity) to template emails sent by a struts2 app?
Is there a good/standard way to use FreeMarker (or Velocity) to template emails sent by a Struts2 application? I hacked up something that works, but my solution doesn't know about struts2, so it can't use the taglibs to produce URL. (Ie sending an email for a new account with an activation link). I have to assume this is something everyone has to do, so maybe I'm just overlooking something obvious. Thanks. Eric - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: Using FreeMarker (or Velocity) to template emails sent by a struts2 app?
I use to do through spring framework (http://static.springsource.org/spring/docs/2.5.x/reference/mail.html#mail-templates) 2010/10/18 Eric Nielsen ericdniel...@gmail.com: Is there a good/standard way to use FreeMarker (or Velocity) to template emails sent by a Struts2 application? I hacked up something that works, but my solution doesn't know about struts2, so it can't use the taglibs to produce URL. (Ie sending an email for a new account with an activation link). I have to assume this is something everyone has to do, so maybe I'm just overlooking something obvious. Thanks. Eric - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org -- Maurizio Cucchiara - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Using FreeMarker (or Velocity) to template emails sent by a struts2 app?
Is there a good/standard way to use FreeMarker (or Velocity) to template emails sent by a Struts2 application? I hacked up something that works, but my solution doesn't know about struts2, so it can't use the taglibs to produce URL. (Ie sending an email for a new account with an activation link). I have to assume this is something everyone has to do, so maybe I'm just overlooking something obvious. Thanks. Eric - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org