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] <javascript:>', '[email protected] 
> <javascript:>'], ....)
>
> 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.

Reply via email to