mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-25 17:33:08 +01:00
fix email problem with multiple addresses.
This commit is contained in:
parent
885c03c514
commit
2d882a393c
@ -102,7 +102,7 @@ def send_templated_mail(template_name, email_context, recipients, sender=None, b
|
|||||||
"{{ ticket.ticket }} {{ ticket.title|safe }} %s" % t.subject
|
"{{ ticket.ticket }} {{ ticket.title|safe }} %s" % t.subject
|
||||||
).render(context)
|
).render(context)
|
||||||
|
|
||||||
if type(recipients) == str:
|
if type(recipients) == str or type(recipients) == unicode:
|
||||||
if recipients.find(','):
|
if recipients.find(','):
|
||||||
recipients = recipients.split(',')
|
recipients = recipients.split(',')
|
||||||
elif type(recipients) != list:
|
elif type(recipients) != list:
|
||||||
|
Loading…
Reference in New Issue
Block a user