Michael P. Reilly wrote:
> The second argument to SMTP.sendmail is supposed to be a sequence.  
> You are sending a sequence (a string), so you do not get a complaint, 
> but it is not the sequence you want.  Try this:
>
> server.sendmail(From, [Address], message)
Actually server.sendmail allows a string to represent a single address. 
This was undocumented until recently but it does work.

Kent

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to