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

mail-nightly-build.py needs smtp auth

From: Carl Karsten <carl_at_personnelware.com>
Date: 2005-06-10 06:29:31 CEST

I have a box for testing, but it can't send the logs to breakage because it needs
to do smtp auth.

Here is the current code:

server = smtplib.SMTP(SMTP_server)
server.sendmail(from_address, to_address, msg)

This is what needs to be added:

11.12.1 SMTP Objects: login( user, password) "Log in on an SMTP server that
requires authentication. The arguments are the username and the password to
authenticate with."

But I am not sure how to do it so that it doesn't break the current servers that
don't require it, and how to report failure.

So can someone run this in for me?

Carl K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 10 06:28:47 2005

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.