Also, if all the recipients get the same message (with no customization), then you can provide a list or tuple of recipients as the 'to', 'cc', or 'bcc' argument to mail.send(), so you only need to call it once. Anthony
On Wednesday, August 3, 2011 3:47:30 PM UTC-4, rochacbruno wrote: > 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 <ramst...@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 ] > >