Yes I know like I said I used the syntax indicate here: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki641#HIssue... on Xwiki 6.4 but it doesn't work either. Perhaps the code in release note is not correct? -------------------------------------------- En date de : Lun 16.2.15, [email protected] <[email protected]> a écrit : Objet: Re: [xwiki-devs] Mail sender API doesn't work with template? À: "devs XWiki" <[email protected]> Cc: [email protected] Date: Lundi 16 février 2015, 10h50 #yiv6825996495 * {font-family:Menlo, Arial;}Hi Pascal, On 16 Feb 2015 at 10:13:12, Pascal BASTIEN ([email protected](mailto:[email protected])) wrote:
Hello,
On Xwiki 6.4, it seem that new mail sender API doesn't work. I didn't manage to use exemple 3 and 4 from doc:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API#HExampl...
I use Admin account and use this code:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki641#HIssue...
I attached a Xwiki/Mail objetct to MailTemplatePage but no mail are sent and /bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=emailStatus page are empty. Example 1 and 2 are working (I fixed a typo). The doc is for XWiki 6.4.1 actually. The API has changed between 6.4 and 6.4.1. Thanks-Vincent
Pascal B.