Skip to content

Commit

Permalink
[4.2.x] Refs #34118, Refs #34504 -- Added backward incompatibility no…
Browse files Browse the repository at this point in the history
…te about EmailBackend.ssl_context.

Follow up to 2848e5d.
Backport of 5a6d4d3 from main
  • Loading branch information
felixxm committed Apr 28, 2023
1 parent 88f23b6 commit 4f343a1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/releases/4.2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4f343a1

Please sign in to comment.