add defaults for to_recipients in send_mail and add_outgoing_email
This commit is contained in:
parent
da26b3e0d3
commit
750ab94f93
|
@ -11,8 +11,8 @@ logger = logging.getLogger("bornhack.%s" % __name__)
|
||||||
|
|
||||||
def _send_email(
|
def _send_email(
|
||||||
text_template,
|
text_template,
|
||||||
to_recipients,
|
|
||||||
subject,
|
subject,
|
||||||
|
to_recipients=[],
|
||||||
cc_recipients=[],
|
cc_recipients=[],
|
||||||
bcc_recipients=[],
|
bcc_recipients=[],
|
||||||
html_template='',
|
html_template='',
|
||||||
|
@ -60,9 +60,9 @@ def _send_email(
|
||||||
|
|
||||||
def add_outgoing_email(
|
def add_outgoing_email(
|
||||||
text_template,
|
text_template,
|
||||||
to_recipients,
|
|
||||||
formatdict,
|
formatdict,
|
||||||
subject,
|
subject,
|
||||||
|
to_recipients=[],
|
||||||
cc_recipients=[],
|
cc_recipients=[],
|
||||||
bcc_recipients=[],
|
bcc_recipients=[],
|
||||||
html_template='',
|
html_template='',
|
||||||
|
|
Loading…
Reference in a new issue