<
From version < 2.1 >
edited by Thomas Mortagne
on 2015/01/15
To version < 4.1 >
edited by Vincent Massol
on 2015/01/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
... ... @@ -10,10 +10,35 @@
10 10  
11 11  [[Full list of issues fixed and Dashboard for <version>>>http://jira.xwiki.org/secure/Dashboard.jspa?selectPageId=<fill id here>]].
12 12  
13 -== <feature N> ==
13 +== Mail Sender API Improvements ==
14 14  
15 -<description of feature N>
15 +* You can now specify the delay to wait between each mail being sent, in milliseconds. This is done to support mail throttling and not be considered a spammer by mail servers. For example if you wish to wait 10 seconds (if not specified the default is 8 seconds, which is 450 mails per hour), set the following in your ##xwiki.properties##:(((
16 +{{code language="none"}}
17 +mail.sender.sendWaitTime = 10000
18 +{{/code}}
16 16  
20 +The configuration parameter can also be changed from the [[Mail Admin UI>>extensions:Extension.Mail Application]]:
21 +
22 +{{image reference="sendmailwait.png"/}}
23 +)))
24 +* We now save both an error summary and a full error description when a mail fails to be sent when using the Database Mail Listener. This allows to see the full stack trace of the problem to more easily debug it.(((
25 +{{image reference="sendmailerror.png"/}}
26 +)))
27 +* The Mail Type is now displayed in the [[Mail Sender Status Admin UI>>extensions:Extension.Mail Application]]:(((
28 +{{image reference="mailtype.png"/}}
29 +)))
30 +* The ##MailResult.isSent()## API has been renamed to ##MailResult.isProcessed()## to avoid thinking that it'll return true if all mails have been sent successfully. What it does is simply return true when all mails have been processed, whether they've been sent successfully or not.
31 +* A new scripting API has been added to set the mail type:(((
32 +{{code language="none"}}
33 +$message.setType("Some type")
34 +{{/code}}
35 +)))
36 +* In the [[Mail Sender Status Admin UI>>extensions:Extension.Mail Application]] we now only display mails sent by the current wiki unless we're on the main wiki.
37 +* The [[Mail Application>>extensions:Extension.Mail Application]] doesn't require Programming Rights for installation anymore.
38 +* Account Validation email results are now saved and visible in the [[Mail Application>>extensions:Extension.Mail Application]].
39 +* Some new [[Mail Sender Storage script services>>extensions:Extension.Mail Sender Storage]] have been added: ability to delete mail statuses for a single mail and for a whole batch, and ability to load mail statuses with criteria.
40 +* When messages are sent with the API they are now persisted locally before they are effectively sent, one by one. This means that even if XWiki crashes when mails are being sent, their statuses will be correctly displayed in the [[Mail Sender Status Admin UI>>extensions:Extension.Mail Application]] and can be resent.
41 +
17 17  == Miscellaneous ==
18 18  
19 19  <insert misc user stuff and important bug fix descriptions here in a list, when they are too small to warrant a section by themselves - Change the version in the URL below!>
... ... @@ -38,7 +38,7 @@
38 38  
39 39  == Miscellaneous ==
40 40  
41 -* it's now possible to provide metadatas to ~{~{MacroContentParser#parse}} API
66 +* it's now possible to provide metadatas to ##MacroContentParser#parse## API
42 42  
43 43  = Translations =
44 44  

Get Connected