mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 16:03:19 +01:00
Merge pull request #274 from jennyq/master
exclude '\r' from subject_part
This commit is contained in:
commit
aa46cc6988
@ -115,7 +115,7 @@ def send_templated_mail(template_name, email_context, recipients, sender=None, b
|
||||
elif type(recipients) != list:
|
||||
recipients = [recipients,]
|
||||
|
||||
msg = EmailMultiAlternatives( subject_part.replace('\n', ''),
|
||||
msg = EmailMultiAlternatives( subject_part.replace('\n', '').replace('\r', ''),
|
||||
text_part,
|
||||
sender,
|
||||
recipients,
|
||||
|
Loading…
Reference in New Issue
Block a user