diff options
author | Jonas Östanbäck <cez81@users.noreply.github.com> | 2017-06-07 03:14:31 +0200 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-06-07 09:14:31 +0800 |
commit | d9a8eff2def111d1b038cbceea0a6b3ed7d43300 (patch) | |
tree | 761cf438ce6357f7ed40513133026a60030de2d4 /conf | |
parent | 295f560a124690b47da2e56369645092f7310129 (diff) | |
download | gitea-d9a8eff2def111d1b038cbceea0a6b3ed7d43300.tar.gz gitea-d9a8eff2def111d1b038cbceea0a6b3ed7d43300.zip |
Send mails as HTML as default. Setting for send as plain text. (#1648)
* Send mails as HTML as default. Setting for send as plain text.
* Add new option SendAsPlainText. remove EnableHTMLAlternative
* Send HTML mails as default
* Add html check if html2text should be performed
* Send only multipart or plain. Add deprication warning for ENABLE_HTML_ALTERNATIVE
* Still use ENABLE_HTML_ALTERNATIVE for backward compatibility
* Changed to not ignore html2text errors
Diffstat (limited to 'conf')
-rw-r--r-- | conf/app.ini | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/app.ini b/conf/app.ini index 29836748d6..07164c2719 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -290,8 +290,8 @@ FROM = ; Mailer user name and password USER = PASSWD = -; Use text/html as alternative format of content -ENABLE_HTML_ALTERNATIVE = false +; Send mails as plain text +SEND_AS_PLAIN_TEXT = false ; Enable sendmail (override SMTP) USE_SENDMAIL = false ; Specifiy an alternative sendmail binary |