On Mon, Aug 8, 2011 at 5:08 PM, Verde Denim <tdl...@gmail.com> wrote:
> and it returns -
> "TypeError" with no other information...
> It appears to be generated from the line
>
> msg = ("From: %s\r\nTo: %s\r\n\r\n"
>        % (fromaddr, ", ".join(toaddrs)))
>
> But I'm not sure why...
>

I transcribed pieces manually from your code into Python 2.4.5 and
didn't get an error. What did you enter at the From: and To: prompts?

As a side point: Does anyone else feel that it's potentially confusing
to have a function whose parameter has the same name as the function
itself? This is straight from the example.

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

Reply via email to