Changes for page Release Notes for XWiki 6.2 Milestone 1
Last modified by Thomas Mortagne on 2017/03/24
From version 29.1
edited by Eduard Moraru
on 2014/07/17
on 2014/07/17
Change comment:
Mentioned the usage of snapshot repository by default on snapshot builds of XE.
To version 30.1
edited by Vincent Massol
on 2014/07/17
on 2014/07/17
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.en ygma1 +XWiki.VincentMassol - Content
-
... ... @@ -69,6 +69,17 @@ 69 69 * The new [[Mail Sender API>>extensions:Extension.Action API]] is now bundled by default in XWiki Enterprise. 70 70 * It's now possible to access the Mail Sending API configuration from scripts by calling ##$services.mailsender.configuration##. 71 71 * The ##send()## API now sends messages synchronously and a new ##sendAsynchronously()## API has been added 72 +* Using the following will now automatically add a template body part too:((( 73 +{{code language="none"}} 74 +#set ($message = $services.mailsender.createMessage('template', $templateReference, $mailParameters) 75 +{{/code}} 76 +))) 77 +* In addition the "template" Mime Message Factory supports passing "to", "from", "cc" and "bcc" addresses in the parameters list, for example:((( 78 +{{code language="none"}} 79 +#set ($mailParameters = {'from' : '[email protected]', 'to' : '[email protected]', 'language' : $xcontext.language, 'velocityVariables' : { 'var1' : 'value1' }}) 80 +#set ($message = $services.mailsender.createMessage('template', $templateReference, $mailParameters) 81 +{{/code}} 82 +))) 72 72 73 73 == Deprecated and Retired projects == 74 74