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 )
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.
Change History (1)
comment:1 by , 4 years ago
Description: | modified (diff) |
---|---|
Has patch: | set |
Needs documentation: | set |
Needs tests: | set |
Owner: | changed from | to
Patch needs improvement: | set |
Status: | new → assigned |
Summary: | add EmalBackend CA parameters #13305 → Update SMTP Email Backend to use an SSLContext. |
Triage Stage: | Unreviewed → Accepted |
Note:
See TracTickets
for help on using tickets.
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?