TrafeX / docker-php-nginx

Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux
https://hub.docker.com/r/trafex/php-nginx
MIT License
1.33k stars 721 forks source link

Sendmail support? #140

Closed imp1sh closed 10 months ago

imp1sh commented 10 months ago

Hi,

websites often have contact forms or alike. What is your concept for such situations. I tried to use a wordpress form and it said:

sendmail: can't connect to remote host (127.0.0.1): Connection refused

Thanks for you help

imp1sh commented 10 months ago

I added a pull request https://github.com/TrafeX/docker-php-nginx/pull/142

TrafeX commented 10 months ago

As mentioned in the PR; I'm not adding this in the minimal setup this Docker container has, instead I've described your example in the documentation: https://github.com/TrafeX/docker-php-nginx/blob/master/docs/sending-emails.md