chore(docs): add new mailer option to docs

This commit is contained in:
kolaente 2022-06-19 16:26:17 +02:00 committed by Gitea
parent c62e26b6fe
commit f30a9d1038
3 changed files with 15 additions and 1 deletions

View file

@ -129,6 +129,8 @@ mailer:
host: "" host: ""
# SMTP Host port # SMTP Host port
port: 587 port: 587
# SMTP Auth Type. Can be either `plain`, `login` or `cram-md5`.
authtype: "plain"
# SMTP username # SMTP username
username: "user" username: "user"
# SMTP password # SMTP password

View file

@ -665,6 +665,17 @@ Full path: `mailer.port`
Environment path: `VIKUNJA_MAILER_PORT` Environment path: `VIKUNJA_MAILER_PORT`
### authtype
SMTP Auth Type. Can be either `plain`, `login` or `cram-md5`.
Default: `plain`
Full path: `mailer.authtype`
Environment path: `VIKUNJA_MAILER_AUTHTYPE`
### username ### username
SMTP username SMTP username

View file

@ -17,10 +17,11 @@
package mail package mail
import ( import (
"io"
"code.vikunja.io/api/pkg/config" "code.vikunja.io/api/pkg/config"
"code.vikunja.io/api/pkg/log" "code.vikunja.io/api/pkg/log"
"code.vikunja.io/api/pkg/version" "code.vikunja.io/api/pkg/version"
"io"
"github.com/wneessen/go-mail" "github.com/wneessen/go-mail"
) )