php-fpm with ssmtp mail support
Change the following according to your needs:
FromLineOverride=YES
mailhub=mail.example.org
hostname=server1.example.org
UseTLS=NO
UseSTARTTLS=NO
And save the file as ssmtp.conf
We need to set the sendmail_path to use the sSMTP
[mail function]
sendmail_path = "/usr/sbin/ssmtp -t"
And save the file as mail.ini
To run the following needs to be mounted:
Clone the repo or copy and the docker-compose.yml and run
docker-compose up -d
Content type
Image
Digest
Size
125.5 MB
Last updated
over 7 years ago
docker pull erdalmutlu/php-fpm-ssmtp