31 Jul
2012
31 Jul
'12
11:39 a.m.
Hi all, is there something special to accomplish when sending mails in a scheduled Job? This line : xwiki.mailsender.sendHtmlMessage("[email protected]","[email protected]",xwiki.null,xwiki.null,"Nouveaux articles",xwiki.getDocument("Blog.Newsletter").getRenderedContent(),"",[]) sends mail when executed in a 'normal' page, whereas nothing happens when the same code is pasted in the job treatment field of a scheduled job (without groovy tag)... I precise that the scheduled job is planified, and we couldn't see anything wrong in its status. Thx for the help, Nicolas