You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Carl Karsten <ca...@personnelware.com> on 2005/06/10 04:29:31 UTC

mail-nightly-build.py needs smtp auth

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

Re: mail-nightly-build.py needs smtp auth

Posted by Marcus Rueckert <da...@web.de>.
On 2005-06-09 23:29:31 -0500, Carl Karsten wrote:
> Date: Thu, 09 Jun 2005 23:29:31 -0500
> From: Carl Karsten <ca...@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