mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-21 23:43:11 +01:00
Strip out carriage returns from subjects. Coses GH-209
This commit is contained in:
parent
ea9b772f35
commit
ae53c1f6c7
@ -113,7 +113,7 @@ def send_templated_mail(template_name, email_context, recipients, sender=None, b
|
||||
elif type(recipients) != list:
|
||||
recipients = [recipients,]
|
||||
|
||||
msg = EmailMultiAlternatives( subject_part,
|
||||
msg = EmailMultiAlternatives( subject_part.replace('\n', ''),
|
||||
text_part,
|
||||
sender,
|
||||
recipients,
|
||||
|
Loading…
Reference in New Issue
Block a user