django/tests/mail
Mike Edmunds a627829e7b Refs #35581 -- Updated mail tests to include trailing newlines.
Python's modern email API will force a trailing newline onto all text/*
bodies and attachments. Updated mail tests to include (and check for)
the newline while still using the legacy email API.

See https://github.com/python/cpython/issues/121515 which reasons that,
apart from artificial test cases, most text content already ends in a
newline. If it doesn't, adding one won't change the meaning.
2025-04-09 09:46:10 +02:00
..
attachments Fixed #27848 -- Prevented crash when attaching a .eml file to a message 2017-04-01 16:19:03 +02:00
__init__.py
custombackend.py Fixed CVE-2024-45231 -- Avoided server error on password reset when email sending fails. 2024-09-03 09:22:32 -03:00
test_sendtestemail.py Fixed #36138 -- Changed ADMINS and MANAGERS settings to lists of strings. 2025-03-21 10:17:57 +01:00
tests.py Refs #35581 -- Updated mail tests to include trailing newlines. 2025-04-09 09:46:10 +02:00