From 22cb67adde17f82c10a55c92662bbe5fdb98466d Mon Sep 17 00:00:00 2001 From: Nextcloud bot Date: Wed, 20 Nov 2024 03:14:21 +0000 Subject: [PATCH] generate documentation from config.sample.php --- .../configuration_server/config_sample_php_parameters.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/admin_manual/configuration_server/config_sample_php_parameters.rst b/admin_manual/configuration_server/config_sample_php_parameters.rst index 6365bf858..75c2da7c0 100644 --- a/admin_manual/configuration_server/config_sample_php_parameters.rst +++ b/admin_manual/configuration_server/config_sample_php_parameters.rst @@ -831,7 +831,7 @@ mail_smtpmode 'mail_smtpmode' => 'smtp', -Which mode to use for sending mail: ``sendmail``, ``smtp`` or ``qmail``. +Which mode to use for sending mail: ``sendmail``, ``smtp``, ``qmail`` or ``null``. If you are using local or remote SMTP, set this to ``smtp``. @@ -841,6 +841,9 @@ the server, with ``/usr/sbin/sendmail`` installed on your Unix system. For ``qmail`` the binary is /var/qmail/bin/sendmail, and it must be installed on your Unix system. +Use the string ``null`` to send no mails (disable mail delivery). This can be +useful if mails should be sent via APIs and rendering messages is not necessary. + Defaults to ``smtp`` mail_smtphost