mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-28 01:28:51 +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
|
||||
).render(context)
|
||||
|
||||
if type(recipients) == str:
|
||||
if type(recipients) == str or type(recipients) == unicode:
|
||||
if recipients.find(','):
|
||||
recipients = recipients.split(',')
|
||||
elif type(recipients) != list:
|
||||
|
Loading…
Reference in New Issue
Block a user