summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-04-28 13:04:08 +0200
committerGitHub <noreply@github.com>2023-04-28 13:04:08 +0200
commit5a6d4d3bfde07daab9777545694beb014c832264 (patch)
tree92f2fe207c3486adcfb53d2cfbf2c8e56db132d3 /docs
parent7bbbadc69383f0a2b99253e153b974f8783e876d (diff)
downloaddjango-5a6d4d3bfde07daab9777545694beb014c832264.tar.gz
Refs #34118, Refs #34504 -- Added backward incompatibility note about EmailBackend.ssl_context.
Follow up to 2848e5d0ce5cf3c31fe87525536093b21d570f69.
Diffstat (limited to 'docs')
-rw-r--r--docs/releases/4.2.txt6
1 files changed, 6 insertions, 0 deletions
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 <ssl.SSLContext.check_hostname>` and
+ :py:attr:`certificates <ssl.SSLContext.verify_mode>`. 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