diff options
author | Guy Smoilov <guy.smoilov@gmail.com> | 2018-12-25 17:08:00 +0200 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2018-12-25 10:08:00 -0500 |
commit | 5702e4bc2483ab976a1391f7517f5187527d9635 (patch) | |
tree | 5b7ceab6f81277525bd566186e6e48d5e40158fe /conf/app.ini | |
parent | 9b37b1569c2d466dc8293ed482c1549aa9a6d4a9 (diff) |
pkg/mailer: support plaintext alt for HTML emails (#5568)
* Added option to use plain text alt to HTML emails. Should make the messages friendlier for spam filters.
* Check that plaintext conversion worked before adding the HTML alt
* Add description of ADD_PLAIN_TEXT_ALT to app.ini
* Added comment clarifying html AddAlternative
Diffstat (limited to 'conf/app.ini')
-rw-r--r-- | conf/app.ini | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/conf/app.ini b/conf/app.ini index ab149369..1e06edcd 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -250,6 +250,8 @@ USER = PASSWD = ; Use text/plain as format of content USE_PLAIN_TEXT = false +; If sending html emails, then also attach a plaintext alternative to the MIME message, to support older mail clients and make spam filters happier. +ADD_PLAIN_TEXT_ALT = false [cache] ; Either "memory", "redis", or "memcache", default is "memory" |