Not ids, but emails... But do you want them to recieve the "same" email by including them into the recipient field ? or you want to send them a copy of the email individually ? In the later case you will have to make multiple mail.send() to single item of your list of emails...
Richard On Thu, Apr 21, 2016 at 8:27 AM, Emmanuel Dsouza <[email protected]> wrote: > No that's not what I asked. > supposing i have a predefined list say L having many email ids. Can I > simply send to a mail to everyone like this: > mail.send(to=L, > .... > > On Wednesday, April 20, 2016 at 2:17:11 AM UTC+5:30, Niphlod wrote: >> >> mail.send has to,cc and ccn that take either a list or a string. to send >> to two email addresses in the "to", use >> >> mail.send(to=['[email protected]', '[email protected]'], ....) >> >> On Tuesday, April 19, 2016 at 10:24:34 PM UTC+2, Emmanuel Dsouza wrote: >>> >>> mail.send('[email protected]' , #here i want to attach a list of mail ids. >>> 'Subject', >>> 'Body' >>> ) >> >> -- > 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. > -- 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.

