Disable PHP’s mail function

The mail function of PHP can be disabled via php.ini. To do so, add the following line to the php.ini template (see "Open Template" section here) of the PHP version you are using:

 disable_functions = "mail"