problem with sending email

Michael Ströder michael at stroeder.com
Wed Jul 4 09:16:46 EDT 2001


Erno Kuusela wrote:
> 
> In article <3B42BD95.D6A0BC30 at stroeder.com>, Michael Ströder
> <michael at stroeder.com> writes:
> 
> | Now think about systems where sendmail isn't installed at all.
> 
> every unix mta provides a "sendmail" command afaik. unixes don't
> function very well without the capability to deliver mail since
> it's used by cron and whatnot.

Well, you are making the assumption that your Python app lives on a
fully-installed Unix like a mainstream Linux or BSD distribution.
This is e.g. wrong for most web applications.

> ok, you may have a box that is configured to only deliver local mail,
> but not very common and easy to remedy.

How about restricted systems or non-Unix systems? Did you ever think
about this? IMHO a simple Python app which always sends to a certain
e-mail address through a well-defined mail relay can be reviewed
much easier than a full-blown MTA.

Unless you can really derive the assumption that sendmail has to be
present on the target system I'd always vote for smtplib.

Ciao, Michael.



More information about the Python-list mailing list