Show More
@@ -71,9 +71,9 b' class SmtpMailer(object):' | |||||
71 | smtplib.stderr = StderrLogger() |
|
71 | smtplib.stderr = StderrLogger() | |
72 | return smtplib |
|
72 | return smtplib | |
73 |
|
73 | |||
74 |
def send(self, recipients= |
|
74 | def send(self, recipients=None, subject='', body='', html='', | |
75 | attachment_files=None): |
|
75 | attachment_files=None): | |
76 |
|
76 | recipients = recipients or [] | ||
77 | if isinstance(recipients, basestring): |
|
77 | if isinstance(recipients, basestring): | |
78 | recipients = [recipients] |
|
78 | recipients = [recipients] | |
79 | headers = { |
|
79 | headers = { |
General Comments 0
You need to be logged in to leave comments.
Login now