#34186 closed Bug (duplicate)

SMTP.starttls() got an unexpected keyword argument 'keyfile'

Reported by: Shaleh Tonmoy Owned by: nobody
Component: Core (Mail) Version: 4.1
Severity: Release blocker Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

On python 3.12.0a2 send_mai() returns error SMTP.starttls() got an unexpected keyword argument 'keyfile'

TypeError at /
SMTP.starttls() got an unexpected keyword argument 'keyfile'
Request Method:	GET
Request URL:	
Django Version:	4.1.3
Exception Type:	TypeError
Exception Value:	
SMTP.starttls() got an unexpected keyword argument 'keyfile'
Exception Location:	/usr/local/lib/python3.12/site-packages/django/core/mail/backends/smtp.py, line 87, in open
Raised during:	mail.views.index
Python Executable:	/usr/local/bin/python3
Python Version:	3.12.0
Python Path:	
['/app',
 '/usr/local/lib/python312.zip',
 '/usr/local/lib/python3.12',
 '/usr/local/lib/python3.12/lib-dynload',
 '/usr/local/lib/python3.12/site-packages']

Change History (2)

comment:1 by Shaleh Tonmoy, 18 months ago

Type: UncategorizedBug

comment:2 by Claude Paroz, 18 months ago

Resolution: duplicate
Status: newclosed

Thanks for the report. Already fixed in [2848e5d0ce5cf3c3] as part of #34118.

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