php mail command doesn’t work. Plesk 9

If you have swapped the MTA from postfix back to qmail then the mail() command in php may not work.

This is because the symbolic link to the /usr/sbin/sendmail compatibility program is broken.

Execute these commands as root.

[sourcecode] cd /usr/sbin/
rm sendmail
ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail[/sourcecode]

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.