diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-04-16 15:55:39 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-04-18 16:59:34 +0200 |
commit | 01278056a568d987a5119573d9831832bd122d6f (patch) | |
tree | ddfa7dbb6d70a268899f9140ac66c1e7c123bd96 /config | |
parent | fa65aaf1fc8836e1a0e5ee1ffe38ee032a487892 (diff) | |
download | nextcloud-server-01278056a568d987a5119573d9831832bd122d6f.tar.gz nextcloud-server-01278056a568d987a5119573d9831832bd122d6f.zip |
Provide an option to disable HTML emails
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index 5f29933ec65..1f86aebc5d9 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -390,6 +390,18 @@ $CONFIG = array( */ 'mail_smtppassword' => '', +/** + * Replaces the default mail template layout. This can be utilized if the + * options to modify the mail texts with the theming app is not enough. + * The class must extend ``\OC\Mail\EMailTemplate`` + */ +'mail_template_class' => '\OC\Mail\EMailTemplate', + +/** + * Email will be send by default with an HTML and a plain text body. This option + * allows to only send plain text emails. + */ +'mail_send_plaintext_only' => false, /** * Proxy Configurations @@ -984,13 +996,6 @@ $CONFIG = array( 'systemtags.managerFactory' => '\OC\SystemTag\ManagerFactory', /** - * Replaces the default mail template layout. This can be utilized if the - * options to modify the mail texts with the theming app is not enough. - * The class must extend ``\OC\Mail\EMailTemplate`` - */ -'mail_template_class' => '\OC\Mail\EMailTemplate', - -/** * Maintenance * * These options are for halting user activity when you are performing server |