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.
This commit is contained in:
cherti
2016-09-17 12:13:13 +02:00
committed by Raphael Michel
parent 5c0f04fc67
commit ecef64c035

View File

@@ -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)