Unable to send mail through Lamp server using PHP. Most likely cause is that you do not have sendmail installed.
In the apache error log you might have the following error
You need to Install sendmail. Enter the following command in the terminal:
To restart, stop, start sendmail
In the apache error log you might have the following error
sh: /usr/sbin/sendmail: not found
sudo apt-get install sendmail
/etd/init.d/sendmail restart
/etd/init.d/sendmail stop
/etd/init.d/sendmail start
/etd/init.d/sendmail stop
/etd/init.d/sendmail start
Nessun commento:
Posta un commento