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