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:
parent
6ec4fbe7c8
commit
ea5e4573fe
1 changed files with 2 additions and 2 deletions
|
@ -14,7 +14,7 @@ Directly use SMTP server as relay. This option is useful if you don't want to se
|
||||||
[mailer]
|
[mailer]
|
||||||
ENABLED = true
|
ENABLED = true
|
||||||
FROM = forgejo@example.com
|
FROM = forgejo@example.com
|
||||||
MAILER_TYPE = smtp
|
PROTOCOL = smtp
|
||||||
SMTP_ADDR = mail.example.com
|
SMTP_ADDR = mail.example.com
|
||||||
SMTP_PORT = 587
|
SMTP_PORT = 587
|
||||||
IS_TLS_ENABLED = true
|
IS_TLS_ENABLED = true
|
||||||
|
@ -47,7 +47,7 @@ Note: For Internet-facing sites consult documentation of your MTA for instructio
|
||||||
[mailer]
|
[mailer]
|
||||||
ENABLED = true
|
ENABLED = true
|
||||||
FROM = forgejo@example.com
|
FROM = forgejo@example.com
|
||||||
MAILER_TYPE = sendmail
|
PROTOCOL = sendmail
|
||||||
SENDMAIL_PATH = /usr/sbin/sendmail
|
SENDMAIL_PATH = /usr/sbin/sendmail
|
||||||
SENDMAIL_ARGS = "--" ; most "sendmail" programs take options, "--" will prevent an email address being interpreted as an option.
|
SENDMAIL_ARGS = "--" ; most "sendmail" programs take options, "--" will prevent an email address being interpreted as an option.
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue