From 5a6d4d3bfde07daab9777545694beb014c832264 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 28 Apr 2023 13:04:08 +0200 Subject: Refs #34118, Refs #34504 -- Added backward incompatibility note about EmailBackend.ssl_context. Follow up to 2848e5d0ce5cf3c31fe87525536093b21d570f69. --- docs/releases/4.2.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs') diff --git a/docs/releases/4.2.txt b/docs/releases/4.2.txt index 04482e3c17..b113f3d217 100644 --- a/docs/releases/4.2.txt +++ b/docs/releases/4.2.txt @@ -467,6 +467,12 @@ Miscellaneous * Support for ``PROJ`` < 5 is removed. +* :class:`~django.core.mail.backends.smtp.EmailBackend` now verifies a + :py:attr:`hostname ` and + :py:attr:`certificates `. If you need the + previous behavior that is less restrictive and not recommended, subclass + ``EmailBackend`` and override the ``ssl_context`` property. + .. _deprecated-features-4.2: Features deprecated in 4.2 -- cgit v1.2.1