Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-10605

Add internationalization support to send emails from a Template

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 6.1
    • 6.1-rc-1
    • Mail
    • None
    • Unit
    • Unknown

    Description

      The goal is to add internationalization support :

      {{velocity}}
      #set ($message = $services.mailsender.createMessage("localhost@xwiki.org", "john@doe.com", "subject test"))
      #set ($discard = $message.addPart("xwiki/template", $services.model.createDocumentReference('', 'Main', 'TemplateMail'), {"velocityVariables" : { "var1" : "value1" }, "language": "en"}))
      {{/velocity}}
      

      Attachments

        Activity

          People

            lyes Bandou Lyes
            lyes Bandou Lyes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: