From version 52.55
edited by Admin
on 2019/09/03 00:47
To version 53.1
edited by Vincent Massol
on 2019/09/05 09:04
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.Admin
1 +xwiki:XWiki.VincentMassol
ExtensionCode.ExtensionClass[0]
Description
... ... @@ -553,16 +553,15 @@
553 553  Mail Sender configuration properties are searched in various places, using the following order:
554 554  
555 555  * Look for a non-empty value in ##Mail.MailConfig## in the current wiki
556 -* [Backward compatibility] Look for a non-empty value in ##(current space).XWikiPreferences## in the current wiki
557 -* [Backward compatibility] Look for a non-empty value in in ##XWiki.XWikiPreferences## in the current wiki
556 +* Look for a non-empty value in ##Mail.MailConfig## in the main wiki {{info}}New in 11.8RC1{{/info}}
558 558  * Look for a non-empty value in the xwiki properties file
559 559  
559 +To see all the possible configuration properties, check the {{scm project="xwiki-platform" path="xwiki-platform-tools/xwiki-platform-tool-configuration-resources/src/main/resources/xwiki.properties.vm" raw="true"}}xwiki.properties{{/scm}} file (check the "Mail" section in that file).
560 +
560 560  {{warning}}
561 -In the future, we'd like to change this to also look for a non-empty value in ##Mail.MailConfig## in the main wiki (see [[XWIKI-12435>>https://jira.xwiki.org/browse/XWIKI-12435]]).
562 +The logic was modified in XWiki 11.8RC1. When the ##Mail.MailConfig## page doesn't exist or doesn't contain a ##Mail.SendMailConfigClass## or a ##Mail.GeneralMailConfigClass##, they'll be created, and filled with non-empty values from ##XWikiPreferences## xobjects (for backward-compatibility). More precisely the values from ##(current space).XWikiPreferences## will be checked first and then ##XWiki.XWikiPreferences## from the current wiki.
562 562  {{/warning}}
563 563  
564 -To see all the possible configuration properties, check the {{scm project="xwiki-platform" path="xwiki-platform-tools/xwiki-platform-tool-configuration-resources/src/main/resources/xwiki.properties.vm" raw="true"}}xwiki.properties{{/scm}} file (check the "Mail" section in that file).
565 -
566 566  = Extending =
567 567  
568 568  There are 2 ways to extend the API:

Get Connected