Merge pull request #58 from JocelynDelalande/default-to-587-starttls
default smtp to port=587 and security=starttls
This commit is contained in:
commit
335caa4887
@ -158,8 +158,8 @@ also can moderate (=activate or delete) comments. Don't forget to configure
|
|||||||
username =
|
username =
|
||||||
password =
|
password =
|
||||||
host = localhost
|
host = localhost
|
||||||
port = 465
|
port = 587
|
||||||
security = ssl
|
security = starttls
|
||||||
to =
|
to =
|
||||||
from =
|
from =
|
||||||
|
|
||||||
|
@ -78,12 +78,12 @@ password =
|
|||||||
host = localhost
|
host = localhost
|
||||||
|
|
||||||
# SMTP port
|
# SMTP port
|
||||||
port = 465
|
port = 587
|
||||||
|
|
||||||
# use a secure connection to the server, possible values: "none", "starttls"
|
# use a secure connection to the server, possible values: "none", "starttls"
|
||||||
# or "ssl". Python 2.X probably does not validate certificates (needs
|
# or "ssl". Python 2.X probably does not validate certificates (needs
|
||||||
# research). But you should use a dedicated email account anyways.
|
# research). But you should use a dedicated email account anyways.
|
||||||
security = ssl
|
security = starttls
|
||||||
|
|
||||||
# recipient address, e.g. your email address
|
# recipient address, e.g. your email address
|
||||||
to =
|
to =
|
||||||
|
@ -117,7 +117,7 @@ class Config:
|
|||||||
"reload = off", "profile = off",
|
"reload = off", "profile = off",
|
||||||
"[smtp]",
|
"[smtp]",
|
||||||
"username = ", "password = ",
|
"username = ", "password = ",
|
||||||
"host = localhost", "port = 465", "security = ssl",
|
"host = localhost", "port = 587", "security = tls",
|
||||||
"to = ", "from = ",
|
"to = ", "from = ",
|
||||||
"[guard]",
|
"[guard]",
|
||||||
"enabled = true",
|
"enabled = true",
|
||||||
|
Loading…
Reference in New Issue
Block a user