diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-04-16 15:55:39 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2018-04-16 19:00:05 +0200 |
commit | 9ee1febf629fa4180c483fb4a2c82559f5c50392 (patch) | |
tree | fc9723ef0eba3b5dad8830cd725169231a35292d /config | |
parent | 056660bf7ce0e587be7276e640e424280ff66804 (diff) | |
download | nextcloud-server-9ee1febf629fa4180c483fb4a2c82559f5c50392.tar.gz nextcloud-server-9ee1febf629fa4180c483fb4a2c82559f5c50392.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 d1341feb0d2..b0ed2e7aa67 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 @@ -986,13 +998,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 |