for user in db(db.auth_user.id
==db.auth_group.id_user).select(db.auth_user.email):
    mail.send(.....)


Something like that.

2011/8/3 António Ramos <ramstei...@gmail.com>

>  i need to send email to all users of a group
>
>
> is there a simple way of doind this?
>
> like mail.send(*groupname*,subject="demo",message="demo")
>
>
>
> thank you?
>
> António
>



-- 



--
Bruno Rocha
[ About me: http://zerp.ly/rochacbruno ]
[ Aprenda a programar: http://CursoDePython.com.br ]
[ O seu aliado nos cuidados com os animais: http://AnimalSystem.com.br ]
[ Consultoria em desenvolvimento web: http://www.blouweb.com ]

Reply via email to