Last modified by Thomas Mortagne on 2017/03/24

<
From version < 10.1 >
edited by Thomas Mortagne
on 2014/06/17
To version < 11.1 >
edited by Vincent Massol
on 2014/06/18
>
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
... ... @@ -49,8 +49,15 @@
49 49  
50 50  == Miscellaneous ==
51 51  
52 -<other dev stuff to add and link to JIRA for all issues fixed>
52 +* The [[Mail Sender API>>extensions:Extension.Mail Sender API]] now allows creating ##MimeMessageFactory## to generate pre-filled MimeMessage. Example of usage:(((
53 +{{code language="none"}}
54 +#set ($message = $services.mailsender.createMessage("template", documentReference, to))
55 +#set ($message = $services.mailsender.createMessage("template", documentReference, from, to))
56 +{{/code}}
53 53  
58 +This will generated a MimeMessage with the subject pre-filled. The value will be that of the ##subject## xproperty from an ##XWiki.Mail## xobject in the Document pointed to by the passed ##documentReference##.
59 +)))
60 +
54 54  = Translations =
55 55  
56 56  The following translations have been updated:

Get Connected