mirror of
https://github.com/go-gitea/gitea
synced 2025-08-12 04:28:21 +00:00
Add support for extra sendmail arguments (#2731)
* Add support for extra sendmail arguments * Sendmail args to exec.command should be a list * Add go-shellquote package * Use go-shellquote lib for parsing Sendmail args * Only parse if sendmail is configured
This commit is contained in:
2
conf/app.ini
vendored
2
conf/app.ini
vendored
@@ -327,6 +327,8 @@ SEND_AS_PLAIN_TEXT = false
|
||||
USE_SENDMAIL = false
|
||||
; Specify an alternative sendmail binary
|
||||
SENDMAIL_PATH = sendmail
|
||||
; Specify any extra sendmail arguments
|
||||
SENDMAIL_ARGS =
|
||||
|
||||
[cache]
|
||||
; Either "memory", "redis", or "memcache", default is "memory"
|
||||
|
Reference in New Issue
Block a user