Commit 3f9d9d77 authored by Vyacheslav Anzhiganov's avatar Vyacheslav Anzhiganov

Custom SMTP settings

parent 978c3e5f
......@@ -343,6 +343,42 @@ sending emails.
Defaults to: ``localhost``.
SMTP_PORT
~~~~~~~~~
This configuration key allow to define the SMTP server port.
SMTP by default uses TCP port 25. The protocol for mail submission is
the same, but uses port 587.
SMTP connections secured by SSL, known as SMTPS, default to port 465
(nonstandard, but sometimes used for legacy reasons).
Defaults to: ``25``
SMTP_SSL
~~~~~~~~
This configuration key to define using SMTP connections secured by SSL
Defaults to: ``False``
SMTP_USERNAME
~~~~~~~~~~~~~
This configuration key allow to use SMTP authentication
Note: Specify SMTP_USERNAME and SMTP_PASSWORD for using SMTP auth
Defaults to: ``None``
SMTP_PASSWORD
~~~~~~~~~~~~~
This configuration key allow to use SMTP authentication
Note: Specify SMTP_USERNAME and SMTP_PASSWORD for using SMTP auth
Defaults to: ``None``
SHORT_LENGTH
~~~~~~~~~~~~
......
......@@ -27,6 +27,11 @@ EMAIL_ERROR = 'pingou@pingoured.fr'
### Default SMTP server to use for sending emails
SMTP_SERVER = 'localhost'
SMTP_PORT = 25
SMTP_SSL = False
# Specify SMTP_USERNAME and SMTP_PASSWORD for enabling SMTP auth
SMTP_USERNAME = None
SMTP_PASSWORD = None
### Information used to sent notifications
FROM_EMAIL = 'pagure@pagure.io'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment