[xwiki-devs] Mail sender API doesn't work with template?
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). Pascal B.
Hi Pascal, On 16 Feb 2015 at 10:13:12, Pascal BASTIEN (pbasnews-xwiki@yahoo.fr(mailto:pbasnews-xwiki@yahoo.fr)) 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.
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, vincent@massol.net <vincent@massol.net> a écrit : Objet: Re: [xwiki-devs] Mail sender API doesn't work with template? À: "devs XWiki" <devs@xwiki.org> Cc: pbasnews-xwiki@yahoo.fr Date: Lundi 16 février 2015, 10h50 #yiv6825996495 * {font-family:Menlo, Arial;}Hi Pascal, On 16 Feb 2015 at 10:13:12, Pascal BASTIEN (pbasnews-xwiki@yahoo.fr(mailto:pbasnews-xwiki@yahoo.fr)) 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.
Hi Pascal, On 16 Feb 2015 at 10:59:03, Pascal BASTIEN (pbasnews-xwiki@yahoo.fr(mailto:pbasnews-xwiki@yahoo.fr)) wrote:
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?
I don’t have much time to retest XWiki 6.4. What would be awesome would be if you could test the new mail feature using XWiki 6.4.1 and if it doesn’t work for you, I’ll have a look then. WDYT? Thanks -Vincent
-------------------------------------------- En date de : Lun 16.2.15, vincent@massol.net a écrit :
Objet: Re: [xwiki-devs] Mail sender API doesn't work with template? À: "devs XWiki" Cc: pbasnews-xwiki@yahoo.fr Date: Lundi 16 février 2015, 10h50
#yiv6825996495 * {font-family:Menlo, Arial;}Hi Pascal, On 16 Feb 2015 at 10:13:12, Pascal BASTIEN (pbasnews-xwiki@yahoo.fr(mailto:pbasnews-xwiki@yahoo.fr)) 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.
I agree :-) (Like I said I would upgrade on 6.4.1) -------------------------------------------- En date de : Lun 16.2.15, vincent@massol.net <vincent@massol.net> a écrit : Objet: Re: [xwiki-devs] Mail sender API doesn't work with template? À: pbasnews-xwiki@yahoo.fr, "devs XWiki" <devs@xwiki.org> Date: Lundi 16 février 2015, 11h01 #yiv7251703915 * {font-family:Menlo, Arial;}Hi Pascal, On 16 Feb 2015 at 10:59:03, Pascal BASTIEN (pbasnews-xwiki@yahoo.fr(mailto:pbasnews-xwiki@yahoo.fr)) wrote:
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? I don’t have much time to retest XWiki 6.4. What would be awesome would be if you could test the new mail feature using XWiki 6.4.1 and if it doesn’t work for you, I’ll have a look then. WDYT? Thanks-Vincent
--------------------------------------------
participants (2)
-
Pascal BASTIEN -
vincent@massol.net