The essence is that everything worked as it should. Then I had to reinstall PHP and it was found that letters were stopped. As it turned out, flew Sendmail
. After installing it mail ()
earned, and returns a letter True
, but the letters themselves are not sent. Registered sendmail_path = / usr / sbin / sendmail -t -i
.
It’s almost completely sure that it just did not install some settings somewhere. Do not tell me where and what?
Answer 1, Authority 100%
As a mail server, I propose to use Postfix
.
Installation in Ubuntu:
apt-get install postfix
choose
Internet Site
Edit php.ini
sendmail_path = "/ usr / sbin / sendmail -t -i"
Restart the web driver. Ready.