[issue8050] smtplib SMTP.sendmail (TypeError: expected string or buffer)

2011-06-02 Thread Jan Papež
Jan Papež honyc...@centrum.cz added the comment: Did you try to use this? q = quotedata(msg.as_string()) -- nosy: +honyczek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8050 ___

[issue8050] smtplib SMTP.sendmail (TypeError: expected string or buffer)

2010-11-05 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: See issue 10321 for a proposal to add Message support to smtplib. -- nosy: -Allison.Vollmann ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8050

[issue8050] smtplib SMTP.sendmail (TypeError: expected string or buffer)

2010-03-08 Thread Allison Vollmann
Allison Vollmann allisonv...@gmail.com added the comment: i believe which the parameter msg must be referenced as a string type when called sendmail nor as an MIME[Message, Multipart, Text, Base, Audio] and this is obvious way to do it. but i'm not Dutch :-) -- status: open - closed

[issue8050] smtplib SMTP.sendmail (TypeError: expected string or buffer)

2010-03-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: On the other hand, having a facility somewhere in the stdlib to pass a Message object to SMTP sendmail would be handy. I've made a note of this in my working notes for email6 to see if there's something we want to do about it.

[issue8050] smtplib SMTP.sendmail (TypeError: expected string or buffer)

2010-03-03 Thread Allison Vollmann
New submission from Allison Vollmann allisonv...@gmail.com: When call SMTP.sendmail (with simple sendmail local sent and with smtp auth), the follow exception be raised (with debug output): send: 'mail FROM:xxx size=5\r\n' reply: '250 2.1.0 Ok\r\n' reply: retcode (250); Msg: 2.1.0 Ok send:

[issue8050] smtplib SMTP.sendmail (TypeError: expected string or buffer)

2010-03-03 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- components: +Library (Lib) -Regular Expressions type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8050 ___