# HG changeset patch # User Marcin Kuzminski # Date 2011-01-22 18:03:23 # Node ID beabd452f08bcb827db405a0a1e0face04939f9a # Parent 48896664e9874ce6c5680d7cbaabe76f21fcf7fb fixed ehlo command for mailing. Thanks to apollo13 diff --git a/rhodecode/lib/smtp_mailer.py b/rhodecode/lib/smtp_mailer.py --- a/rhodecode/lib/smtp_mailer.py +++ b/rhodecode/lib/smtp_mailer.py @@ -47,7 +47,7 @@ class SmtpMailer(object): 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)