From 9ee1febf629fa4180c483fb4a2c82559f5c50392 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 16 Apr 2018 15:55:39 +0200 Subject: Provide an option to disable HTML emails Signed-off-by: Morris Jobke --- config/config.sample.php | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'config') 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 @@ -985,13 +997,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 * -- cgit v1.2.3