We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
EmailBackend.ssl_keyfile
EmailBackend.ssl_certfile
1 parent 3537321 commit 0829551Copy full SHA for 0829551
django-stubs/core/mail/backends/smtp.pyi
@@ -1,6 +1,7 @@
1
import smtplib
2
import threading
3
4
+from _typeshed import StrOrBytesPath
5
from django.core.mail.backends.base import BaseEmailBackend
6
7
class EmailBackend(BaseEmailBackend):
@@ -11,7 +12,7 @@ class EmailBackend(BaseEmailBackend):
11
12
use_tls: bool
13
use_ssl: bool
14
timeout: int | None
- ssl_keyfile: str | None
15
- ssl_certfile: str | None
+ ssl_keyfile: StrOrBytesPath | None
16
+ ssl_certfile: StrOrBytesPath | None
17
connection: smtplib.SMTP_SSL | smtplib.SMTP | None
18
_lock: threading.RLock
0 commit comments