Kent Johnson wrote:
> Tim Roberts wrote:
>> Not exactly like this, you didn't.  The list of destination addresses in
>> SMTP.sendmail must be a sequence, not a string:
> 
> Yes, exactly like that. This is a working module, the only thing I 
> changed to post it was the email address and the name of the SMTP 
> server. SMTP.sendmail() allows a single string as a to address.
> 
>  From the comment in smtplib.py:
>            - to_addrs     : A list of addresses to send this mail to.  A 
> bare
>                             string will be treated as a list with 1 
> address.

I submitted this as a doc bug.

Kent
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to