When I switched to PHP 7.4 I forgot to specify sendmail_path
parameter in php.ini
and my contact form stopped working. Today I found sendmail_path
parameter in PHP 7.0:
cd /etc/php
find . -name "php.ini"
./7.0/fpm/php.ini
./7.0/cgi/php.ini
./7.0/cli/php.ini
./7.4/fpm/php.ini
./7.4/cli/php.ini
grep sendmail ./7.0/fpm/php.ini
sendmail_path = "/usr/sbin/sendmail -t -f *****@yandex.ru -i"