Skip to content

Commit 22cb67a

Browse files
committed
generate documentation from config.sample.php
1 parent 2f95484 commit 22cb67a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

admin_manual/configuration_server/config_sample_php_parameters.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ mail_smtpmode
831831

832832
'mail_smtpmode' => 'smtp',
833833

834-
Which mode to use for sending mail: ``sendmail``, ``smtp`` or ``qmail``.
834+
Which mode to use for sending mail: ``sendmail``, ``smtp``, ``qmail`` or ``null``.
835835

836836
If you are using local or remote SMTP, set this to ``smtp``.
837837

@@ -841,6 +841,9 @@ the server, with ``/usr/sbin/sendmail`` installed on your Unix system.
841841
For ``qmail`` the binary is /var/qmail/bin/sendmail, and it must be installed
842842
on your Unix system.
843843

844+
Use the string ``null`` to send no mails (disable mail delivery). This can be
845+
useful if mails should be sent via APIs and rendering messages is not necessary.
846+
844847
Defaults to ``smtp``
845848

846849
mail_smtphost

0 commit comments

Comments
 (0)