mirror of
https://gitea.com/gitea/docs.git
synced 2026-09-18 03:58:52 +00:00
Correct port 465 for SMTPS, not 587 for STARTTLS (#295)
The SMTPS protocol uses port 465, not 587. Port 587 is instead used for STARTTLS. Helps getting administrators stuck in cryptic errors such as: Failed to send a testing email to "[email protected]": could not initiate SMTP session: tls: first record does not look like a TLS handshake Reviewed-on: https://gitea.com/gitea/docs/pulls/295 Reviewed-by: Lunny Xiao <[email protected]> Co-authored-by: kairosys-dev <[email protected]> Co-committed-by: kairosys-dev <[email protected]>
This commit is contained in:
@@ -45,7 +45,7 @@ ENABLED = true
|
||||
FROM = [email protected]
|
||||
PROTOCOL = smtps
|
||||
SMTP_ADDR = mail.mydomain.com
|
||||
SMTP_PORT = 587
|
||||
SMTP_PORT = 465
|
||||
USER = [email protected]
|
||||
PASSWD = `password`
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user