[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: rev 4317 - trunk/tools/hook-scripts

From: ender <ender_at_objectrealms.net>
Date: 2003-01-10 01:39:06 CET

On Thursday 09 January 2003 04:00 pm, Branko Čibej wrote:
> gstein@tigris.org wrote:
> >+#
> > ------------------------------------------------------------------------
> > +# TODO
> >+#
> >+# * pipe output into a mail program (and avoid os.popen)
>
> Wouldn't using the smtplib.SMTP class be best? Then the mailer.py script
> wouldn't depend on the availability of a particular (unix) mail program.

moving to smtp would definitely be better for portability, but another issue
is that by using the (unix) mail program (s), you can inject directly into
the mta queue, which for some edge cases is a better thing to do if a direct
smtp socket connection is not possible such that the message isn't lost.

-e

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 10 01:37:07 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.