help with sending mail in Program

Kent Johnson kent37 at
Thu Jun 9 14:33:20 CEST 2005

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
>            - 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.


More information about the Python-list mailing list