Answer the question
In order to leave comments, you need to log in
What is the best way to enable php to send email?
The situation is this - there is a new server on Debian 8. It will be necessary to run various php scripts on it. To do this, apache, mysql, proftp, ssh were raised on it, and in fact that's all for now. The situation is such that if you now try to send some mail through the php-function mail (), then nothing happens. Ports are now configured like this:
[email protected] ~ # netstat -pnlt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 579/sshd
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1093/mysqld
tcp6 0 0 :::21 :::* LISTEN 21842/proftpd: (acc
tcp6 0 0 :::22 :::* LISTEN 579/sshd
tcp6 0 0 :::80 :::* LISTEN 19716/apache2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question