Open donowr opened 4 months ago
You can use any SMTP account to send e-mail or you can use transactional e-mail services (Sendgrid, Mailgun, ...). Dolibarr is ready to send e-mail using SMTP
This is the best solutions to send valid e-mail (DKIM, SPF, DMARC), which is required to avoid being considered as SPAM.
Thank you for your message.
It is a shame that we have to configure the SMTP messaging environment in development. There is an auto_install option, is it not possible to configure the docker environment to be able to use native php sending lorsqu'elle est activé?
For information, I used a module called SMTP+ to manage the emails of the entity's different users.
The native PHP mail() function depends on the sendmail command provided by an SMTP service installed locally like Postfix.
The rules for container is 1 container = 1 service. In the present case the service is Apache. Installing Postfix in the same container break this rule.
Good morning,
For the emails to work I have to install and then manually start sendmail with:
apt-get update && apt-get install -y sendmail && service sendmail start
Do you have another solution?
Thanks