select all memebers , loop throught them and send , it will be very simple.
On Wed, Nov 24, 2010 at 3:58 AM, David Liu <[email protected]> wrote: > Hi everyone, > > Hope this email finds you well. I have a question about how to send a > email to every members? > > For example, I have a table named meeting like follows: > > db.define_table('meeting', > Field('title', 'string'), > Field('time', 'datetime'), > Field('description', 'text'), > Field('created_on', 'datetime', default=request.now, > writable=False, readable=False), > Field('creaded_by', db.auth_user, default=auth.user_id, > writable=False, readable=False), > Field('modified_on', 'datetime', update=request.now, > default=request.now, writable=False, readable=False), > Field('modified_by', db.auth_user, update=auth.user_id, > default=auth.user_id, writable=False, readable=False), > format='%(title)s') > > And in my home page, there is link where user can create a meeting > using the action like create_meeting(). When user click this > create_meeting() link, there is form and when the user submit the > form, I want to shoot a email to every member in my system to notify > them this meeting? How could I do that??? > > Any hint will be appreciated. > > Thanks a lot! > > David

