Hello all,

I originally posted this to the python-ideas list, and am reposting it here 
following Barry Warsaw's advice:

"""
Python, as a "batteries included" language, strives to provide out of the box 
solution for most common programming tasks.
Composing and sending email messages is a common task, supported by `email` and 
`smtplib` modules.

However, a programmer not familiar with MIME won't be able to create 
non-trivial email messages.
Actually, this proposal idea comes from the frustration of fast learning about 
MIME to get the job done, and later learn that some people“s email clients 
couldn't properly display the messages because I tripped in some details of 
multipart messages with Text+HTML and attachments.

You can call me a bad programmer, but couldn't / shouldn't this be easier?
Should a programmer be required to know about MIME in order to send a decently 
composed email with images or attachments?

The hardest part is already built in. Why not go that one step further and add 
to the email standard library an wrapper to handle common email composition 
without exposing the MIME details.

Something similar to 
http://code.activestate.com/recipes/576858-send-html-or-text-email-with-or-without-attachment,
 or perhaps including a lib such as pyzlib.
"""

Regards
Daniel Reis                                       
_______________________________________________
Email-SIG mailing list
Email-SIG@python.org
Your options: 
http://mail.python.org/mailman/options/email-sig/archive%40mail-archive.com

Reply via email to