If you ever get ‘sh: -t: command not found‘ when attempting to run the PHP’s mail() function, you probably did not set the sendmail_path variable in your php.ini
Change
; sendmail_path =
to
sendmail_path = /usr/sbin/sendmail -t -i
If you ever get ‘sh: -t: command not found‘ when attempting to run the PHP’s mail() function, you probably did not set the sendmail_path variable in your php.ini
Change
; sendmail_path =
to
sendmail_path = /usr/sbin/sendmail -t -i