0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-24 18:09:26 -05:00

Replace “MAILER_TYPE” with “PROTOCOL”

This commit is contained in:
Vlad-Stefan Harbuz 2023-08-12 10:59:00 +01:00 committed by Caesar Schinas
parent 6ec4fbe7c8
commit ea5e4573fe
No known key found for this signature in database
GPG key ID: AE9108461BEA5ACF

View file

@ -14,7 +14,7 @@ Directly use SMTP server as relay. This option is useful if you don't want to se
[mailer]
ENABLED = true
FROM = forgejo@example.com
MAILER_TYPE = smtp
PROTOCOL = smtp
SMTP_ADDR = mail.example.com
SMTP_PORT = 587
IS_TLS_ENABLED = true
@ -47,7 +47,7 @@ Note: For Internet-facing sites consult documentation of your MTA for instructio
[mailer]
ENABLED = true
FROM = forgejo@example.com
MAILER_TYPE = sendmail
PROTOCOL = sendmail
SENDMAIL_PATH = /usr/sbin/sendmail
SENDMAIL_ARGS = "--" ; most "sendmail" programs take options, "--" will prevent an email address being interpreted as an option.
```