On Sep 17, 2010, at 12:10 PM, Antoine Pitrou wrote: >Also, I don't understand why an application would want to assemble an >e-mail by itself if it doesn't know how to do so, and produces wrong >data. Why not simply let the application do: > >m = Message() >m.add_header("From", "Accented BĂ rry <barry at python.org>") >m.add_body("Hello Barry") Very often you'll start with a template of a message your application wants to send. Then you'll interpolate a few values into it, and you'd like to easily convert the result into an RFC valid email. Is that template bytes or text (or either)? -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: <http://mail.python.org/pipermail/python-dev/attachments/20100917/ce52f171/attachment.pgp>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4