Answer the question
In order to leave comments, you need to log in
Why is sendmail not working?
In general, I already despaired, I have been fighting for a week, reading all sorts of manuals. Unable to configure sendmail. Then I installed it apt-get install sendmail
in /etc/hosts and added my domain (gotlib.info) and executed sendmailconfig
in php.ini I sendmail_path /usr/sbin/sendmail -t -i
tried to configure the relay (as it is written here ), also unsuccessfully, I don’t know what to do next
Please help. Also, tell me a way to check the sending of mail, from the console, not through php.
Answer the question
In order to leave comments, you need to log in
Check
# echo "Message body" | mail -s "Subject" [email protected]
See what's in the logs (/var/log/....)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question