hm, not sure, i get it, but i guess that you can use the query for that and 
pass it into mai.send(to=query result, ...). another thing is, it seems i 
can't find mail.settings.to in web2py book. pls read the book about setup 
and sending emails
e.g. from book :

mail.send(to=['[email protected]'],
          subject='hello',
          # If reply_to is omitted, then mail.settings.sender is used
          reply_to='[email protected]',
          message='hi there')

ref :
http://web2py.com/books/default/chapter/29/08/emails-and-sms?search=mail.settings#Sending-emails

best regards,
stifan

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to