Answer the question
In order to leave comments, you need to log in
Problems with mail(), what to do?
Can't send email with mail() function.
The Apache log shows the following - sh: 1: /usr/lib/sendmail: Permission denied.
did "chmod -777 -R /usr/lib/sendmail" - The situation has not changed.
I tried to make a stub as described here - habrahabr.ru/post/49665
I've been
struggling in one place for several hours, please give me some advice.
Answer the question
In order to leave comments, you need to log in
Is it installed by sendmail at all?
Better install postfix.
apt-get install postfix
dpkg-reconfigure postfix
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question