changeset 952:beabd452f08b beta

fixed ehlo command for mailing. Thanks to apollo13
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 22 Jan 2011 19:03:23 +0100
parents 48896664e987
children def3578dac8c
files rhodecode/lib/smtp_mailer.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/smtp_mailer.py	Fri Jan 21 01:22:10 2011 +0100
+++ b/rhodecode/lib/smtp_mailer.py	Sat Jan 22 19:03:23 2011 +0100
@@ -47,7 +47,7 @@
         if self.debug:
             smtp_serv.set_debuglevel(1)
 
-        smtp_serv.ehlo("rhodecode mailer")
+        smtp_serv.ehlo()
 
         #if server requires authorization you must provide login and password
         smtp_serv.login(self.user, self.passwd)