[Tutor] smtp error

Kent Johnson kent37 at tds.net
Wed Sep 7 11:49:46 CEST 2005

Danny Yoo wrote:
> According to:
>     http://www.python.org/doc/lib/SMTP-objects.html
> the second argument to 's.sendmail()' needs to be a list, even if it is a
> list of a single element.  I'm not positive that this is the bug, but it's
> a possible error.

The docs are incorrect and the latest version has been fixed - you can pass a single string to sendmail().


More information about the Tutor mailing list