diff options
author | Unknwon <u@gogs.io> | 2018-03-30 03:52:23 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-03-30 03:52:23 -0400 |
commit | 17d789a7856c1c62f354b2f6488952b62a7bad1b (patch) | |
tree | bbff2113fc292629956c40afbe625662e8abf53b /conf | |
parent | 63a263f542716cf3663743d470df9b1f1eceb52e (diff) |
pkg/mailer: support custom mail subject prefix (#4524)
Diffstat (limited to 'conf')
-rw-r--r-- | conf/app.ini | 4 | ||||
-rw-r--r-- | conf/locale/locale_en-US.ini | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/conf/app.ini b/conf/app.ini index ed1c3b76..04298f8a 100644 --- a/conf/app.ini +++ b/conf/app.ini @@ -226,8 +226,8 @@ PAGING_NUM = 10 ENABLED = false ; Buffer length of channel, keep it as it is if you don't know what it is. SEND_BUFFER_LEN = 100 -; Name displayed in mail title -SUBJECT = %(APP_NAME)s +; Prefix prepended to the subject line +SUBJECT_PREFIX = `[%(APP_NAME)s] ` ; Mail server ; Gmail: smtp.gmail.com:587 ; QQ: smtp.qq.com:465 diff --git a/conf/locale/locale_en-US.ini b/conf/locale/locale_en-US.ini index 6494348d..3515f362 100644 --- a/conf/locale/locale_en-US.ini +++ b/conf/locale/locale_en-US.ini @@ -1211,7 +1211,7 @@ config.skip_tls_verify = Skip TLS Verify config.mailer_config = Mailer Configuration config.mailer_enabled = Enabled config.mailer_disable_helo = Disable HELO -config.mailer_name = Name +config.mailer_subject_prefix = Subject Prefix config.mailer_host = Host config.mailer_user = User config.send_test_mail = Send Test Email |