[jboss-user] [JBoss Seam] - Re: Email and internationalization

rlhr do-not-reply at jboss.com
Mon Apr 9 11:08:06 EDT 2007


here is my email template:


  | <?xml version="1.0" encoding="ISO-8859-1" ?>
  | <m:message xmlns="http://www.w3.org/1999/xhtml"
  |             xmlns:m="http://jboss.com/products/seam/mail"
  |             xmlns:h="http://java.sun.com/jsf/html"
  |             xmlns:f="http://java.sun.com/jsf/core"
  |             importance="normal" 
  |             requestReadReceipt="false">
  |     <m:header name="X-Sent-From" value="Richard" />
  |     <m:from name="richard" address="xxx at yyy.com" />
  |     <m:to name="#{user.username}">#{user.email}</m:to>
  |     <m:subject>#{messages.EMAIL_TEST_SUBJECT}</m:subject>
  |     <m:body>
  |         <html>
  |             <body>
  |                 <p>#{messages.EMAIL_TEST_BODY}</p>
  |                 <p>
  | 	     </body>
  |         </html>
  |         <f:facet name="alternative">
  |             <h:outputText>This is the alternative text body for mail readers that don't support html</h:outputText>
  |         </f:facet>
  |     </m:body>
  | </m:message>

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035734#4035734

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035734



More information about the jboss-user mailing list