On 2005-06-09 23:29:31 -0500, Carl Karsten wrote:
> Date: Thu, 09 Jun 2005 23:29:31 -0500
> From: Carl Karsten <carl@personnelware.com>
> Subject: mail-nightly-build.py needs smtp auth
> To: dev@subversion.tigris.org
>
> 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?
did you ever look at svnmailer (http://opensource.perlig.de/svnmailer/)
it supports smtp auth. is python written too. It should be easy to adopt
it for your needs.
darix
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 10 09:40:45 2005