Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-09-25 Thread Pascal BASTIEN
mail() #end #end {{/velocity}} Thxs everybodys ____ De : Marius Dumitru Florea À : Pascal BASTIEN ; XWiki Users Envoyé le : Jeudi 25 septembre 2014 10h56 Objet : Re: [xwiki-users] Can I send email to a group with xwiki 6? On Thu, Sep 25, 2014 at 11:18 AM, Pas

Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-09-25 Thread Marius Dumitru Florea
4.1.x/com/xpn/xwiki/api/User.html , which doesn't have any getProperty or getValue method but has getEmail. You really need to check the type of objects you are using. > > #if ($email != 'mailto:') > ## $user -> $email > $user -> $MyUser.getProperty('

Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-09-25 Thread Pascal BASTIEN
!= 'mailto:') ## $user -> $email $user -> $MyUser.getProperty('email').value - $MyUser.getValue('email') #end #end {{/velocity}} without success :-( ________________ De : "Guillaume "Louis-Marie" Delhumeau" À :

Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-09-25 Thread Guillaume "Louis-Marie" Delhumeau
2014-09-24 22:27 GMT+02:00 Sergiu Dumitriu : > On 09/24/2014 10:15 AM, Pascal BASTIEN wrote: > > Hello, > > > > (freely inspired/adapted by: > http://extensions.xwiki.org/xwiki/bin/view/Extension/Test+Mail (Vincent) > and > http://xwiki.markmail.org/message/bksyjlpwezx4dgco?q=getAllMembersNamesFor

Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-09-24 Thread Sergiu Dumitriu
On 09/24/2014 10:15 AM, Pascal BASTIEN wrote: > Hello, > > (freely inspired/adapted by: > http://extensions.xwiki.org/xwiki/bin/view/Extension/Test+Mail (Vincent) and > http://xwiki.markmail.org/message/bksyjlpwezx4dgco?q=getAllMembersNamesForGroup+velocity > (Sergiu) > > Some questions: > to

Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-09-24 Thread Pascal BASTIEN
ouis-Marie" Delhumeau" À : XWiki Users Envoyé le : Mercredi 24 septembre 2014 17h25 Objet : Re: [xwiki-users] Can I send email to a group with xwiki 6? Just my 2 cents: If you plan to send a lot of emails though the Internet, then your emails may be rejected by the mail providers,

Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-09-24 Thread Guillaume "Louis-Marie" Delhumeau
ger.getAllMembersNamesForGroup($groupdoc.name > ))) > #set ($groupMembers = > $util.sort($xwiki.rightsmanager.getAllMembersNamesForGroup($group))) > ## groupedoc.name $groupdoc.name > ##set ($groupMembers = $xwiki.rightsmanager.getAllMembersNamesForGroup("$ > groupdoc.name")

Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-09-24 Thread Pascal BASTIEN
)) $em #set ($em = $userdoc.display("email","view",$mem)) #if ($em != 'mailto:') $em #end #end #end --------- All Team Members on the Wiki (using velocity) #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className=

Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-08-26 Thread Pascal BASTIEN
Sorry I didn't take the time to writing this loop (another priorities on Xwiki) But I hope  to find some time to writing it... :-) De : Shaddy À : users@xwiki.org Envoyé le : Mardi 26 août 2014 10h02 Objet : Re: [xwiki-users] Can I send email to a group

Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-08-26 Thread Shaddy
Pascal BASTIEN writes: > > Thxs. I will use a loop then. > > Hello everybody, I'm currently working on the same issue. Can you show how you managed to send an email to a group of users?? Thank you very much. Daniele. _

Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-07-21 Thread Pascal BASTIEN
Thxs. I will use a loop then. De : Marius Dumitru Florea À : Pascal BASTIEN ; XWiki Users Envoyé le : Lundi 21 juillet 2014 15h38 Objet : Re: [xwiki-users] Can I send email to a group with xwiki 6? I don't think there's any UI for this, but i

Re: [xwiki-users] Can I send email to a group with xwiki 6?

2014-07-21 Thread Marius Dumitru Florea
I don't think there's any UI for this, but it could be scripted. I would use the new Mail Sender API ( http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API ). Iterating the list of users from a group and getting their email address shouldn't be that hard. Hope this helps, Marius O