[ http://jira.jboss.com/jira/browse/JBPTL-55?page=comments#action_12315892 
]
     
karan malhi commented on JBPTL-55:
----------------------------------

So what i understand from it is that you would like to store an email template 
in a text file. Then there would be different properties files for 
internationalizing that template. Some application would read the text file or 
store its text in memory at startup and apply the correct locale and send out 
an email. Do you think storing it in a text file is the right thing to do , or 
would it be a better idea to store the text in the database?

> Create a little parser for emails
> ---------------------------------
>
>          Key: JBPTL-55
>          URL: http://jira.jboss.com/jira/browse/JBPTL-55
>      Project: JBoss Portal
>         Type: Task
>     Reporter: Thomas Heute
>     Priority: Minor

>
>
> Would be nice to have a little parser for things like sending an email.
> A simple text file like:
> Hello {givenName} {familyName},
> This is your password as you requested:
> Passord: {password}
> --
> Thanks,
> The team
> That would be easily customizable and it would have to be i18nized (different 
> text files for different countries).
> MessageFormat could simply be the way to go.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
JBoss-Development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to