From ecef64c0354b2b65e2a36bfeed8e5b6c041b6e19 Mon Sep 17 00:00:00 2001 From: cherti Date: Sat, 17 Sep 2016 12:13:13 +0200 Subject: [PATCH] Change signature-separator (#242) `"-- "` on a single line as a signature-delimiter is noticed by a lot of mail programs out there as an actual signature separator and the text below may be marked that way, e.g. is greyed out a little in Mozilla Thunderbird. This change should leverage that behavior for e-mails sent by pretix. --- src/pretix/base/services/mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pretix/base/services/mail.py b/src/pretix/base/services/mail.py index cba405e4d3..f670dcb90b 100644 --- a/src/pretix/base/services/mail.py +++ b/src/pretix/base/services/mail.py @@ -74,7 +74,7 @@ def mail(email: str, subject: str, template: str, if prefix: subject = "[%s] %s" % (prefix, subject) - body += "\r\n\r\n----\r\n" + body += "\r\n\r\n-- \r\n" body += _( "You are receiving this email because you placed an order for {event}." ).format(event=event.name)