plain.mail
Everything you need to send email.
1# The email backend to use. For possible shortcuts see plain.mail.
2# The default is to use the SMTP backend.
3# Third-party backends can be specified by providing a Python path
4# to a module that defines an EmailBackend class.
5EMAIL_BACKEND: str = "plain.mail.backends.smtp.EmailBackend"
6
7# Host for sending email.
8EMAIL_HOST: str = "localhost"
9
10# Port for sending email.
11EMAIL_PORT: int = 25
12
13# Whether to send SMTP 'Date' header in the local time zone or in UTC.
14EMAIL_USE_LOCALTIME: bool = False
15
16# Optional SMTP authentication information for EMAIL_HOST.
17EMAIL_HOST_USER: str = ""
18EMAIL_HOST_PASSWORD: str = ""
19EMAIL_USE_TLS: bool = False
20EMAIL_USE_SSL: bool = False
21EMAIL_SSL_CERTFILE: str = None
22EMAIL_SSL_KEYFILE: str = None
23EMAIL_TIMEOUT: int = None
24
25# Default email address to use for various automated correspondence from
26# the site managers.
27DEFAULT_FROM_EMAIL: str = "webmaster@localhost"