Opened 4 years ago

Last modified 22 months ago

#31885 closed Bug

Update SMTP Email Backend to use an SSLContext. — at Version 1

Reported by: Luis Saavedra Owned by: Luis Saavedra
Component: Core (Mail) Version: dev
Severity: Normal Keywords: SSL
Cc: Carlton Gibson Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description (last modified by Carlton Gibson)

Setting SSL cert and key in `SMTP.starttls()` is deprecated (since Python 3.6) in favour of passing an SSLContext. Update the SMTP backend to use the newer API.

https://github.com/django/django/pull/13305

Change History (1)

comment:1 by Carlton Gibson, 4 years ago

Description: modified (diff)
Has patch: set
Needs documentation: set
Needs tests: set
Owner: changed from nobody to Luis Saavedra
Patch needs improvement: set
Status: newassigned
Summary: add EmalBackend CA parameters #13305Update SMTP Email Backend to use an SSLContext.
Triage Stage: UnreviewedAccepted

Thanks for the report. Yes, an update here sounds good.

We'll need docs and tests for the changes. You've added new settings, those will need documenting too.
Then, do we need to deprecate the old settings, as no longer appropriate?

Note: See TracTickets for help on using tickets.
Back to Top