diff --git a/rhodecode/lib/rcmail/smtp_mailer.py b/rhodecode/lib/rcmail/smtp_mailer.py --- a/rhodecode/lib/rcmail/smtp_mailer.py +++ b/rhodecode/lib/rcmail/smtp_mailer.py @@ -6,7 +6,7 @@ Simple smtp mailer used in RhodeCode :created_on: Sep 13, 2010 - :copyright: (C) 2009-2011 Marcin Kuzminski + :copyright: (C) 2010-2012 Marcin Kuzminski :license: GPLv3, see COPYING for more details. """ # This program is free software: you can redistribute it and/or modify @@ -27,6 +27,7 @@ import smtplib from socket import sslerror from rhodecode.lib.rcmail.message import Message + class SmtpMailer(object): """SMTP mailer class @@ -53,7 +54,6 @@ class SmtpMailer(object): self.debug = debug self.auth = smtp_auth - def send(self, recipients=[], subject='', body='', html='', attachment_files=None):