From version < 37.1 >
edited by Thomas Mortagne
on 2014/06/12
To version < 38.1 >
edited by Vincent Massol
on 2014/06/13
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.VincentMassol
Content
... ... @@ -45,6 +45,26 @@
45 45  * The LESS Compiler now compress the generated CSS.
46 46  * A new component has been added to compute a Color Theme compatible with [[extensions:Extension.Color Theme Application]] from a LESS file.
47 47  
48 +== New Mail module ==
49 +
50 +Allows to send mails in Java and from wiki pages.
51 +
52 +See [[Mail Sender API>>extensions:Extension.Action API]] for all details.
53 +
54 +Example to send an email from a wiki page:
55 +
56 +{{code language="none"}}
57 +{{velocity}}
58 +#set ($message = $services.mailsender.createMessage("localhost@xwiki.org", "john@doe.com", "subject"))
59 +#set ($discard = $message.addPart("text/plain", "text content"))
60 +#set ($discard = $message.send())
61 +#set ($discard = $message.waitTillSent(10000))
62 +#foreach ($error in $message.getErrors())
63 +* $error.message
64 +#end
65 +{{/velocity}}
66 +{{/code}}
67 +
48 48  == Job module improvements ==
49 49  
50 50  A new ##org.xwiki.job.JobExecutor## component has been introduce to replace ##org.xwiki.job.JobManager## (which is now deprecated). This component adds support for parallel execution of jobs and also support grouping jobs that need to be executed in the same thread.

Get Connected