smtplib

Peter Timaratz timaratz at lisco.com
Mon Jun 26 19:58:09 EDT 2000


As a kindness to all the idiots like me perhaps this intro can be added to
the smtplib module:

"This module implements SMTP and does not send e-mail. If you want to send
e-mail with Python then learn SMTP. If you don't want to learn SMTP then you
can use one of the many Perl modules available that don't require you to
know SMTP."

> -----Original Message-----
> From: python-list-admin at python.org
> [mailto:python-list-admin at python.org]On Behalf Of Grant Edwards
> Sent: Monday, June 26, 2000 10:09 AM
> To: python-list at python.org
> Subject: Re: smtplib
>
>
> In article <001501bfdf74$6dff1fe0$14b745c6 at timaratz>, Peter
> Timaratz wrote:
>
> >Yes, I figured out that smtplib requires the subject and
> >headers to be imbedded in the message. I'm new to Python and I
> >love the language. But I think that the design of this module
> >reflects poorly upon Python.
>
> The module impliments SMTP, hence the name.  SMTP does not
> concern itself with message contents.  Writing smtplib to make
> certain assumptions or force certain conventions regarding
> message content would be just plain incorrect.
>
> >Almost every CGI programmer who looks at Python will want to
> >use this module. It would only take a few lines of code to make
> >it much more usable.
>
> Maybe you should write a higher level e-mail module that does
> what you are requesting.  It does not belong in smtplib.
>
> >I'm saying this not to flame Python, but to encourage those
> >responsible for it's distribution to look more critically at
> >what they are putting out.
>
> Perhaps you should look more critically at what you expect from
> a library that claims only to impliment SMTP.  If you want a
> layer of functionality on _top_ of SMTP, then that's something
> another module can impliment.
>
> >I hope that this module is atypical of the quality of this
> >product. I'd like to see Python become more popular. There are
> >many factors involved in that, but the quality of the modules
> >is certainly one of them.
>
> There is nothing wrong with smtplib.  You seem to be expecting
> it to do things other than SMTP.
>
> --
> Grant Edwards                   grante             Yow!  I'm an East Side
>                                   at               TYPE...
>                                visi.com
> --
> http://www.python.org/mailman/listinfo/python-list
>





More information about the Python-list mailing list