Adjust sendmail parameters in the php.ini on the development server to connect to an external mailcatcher (SMTP)
We would like to connect sendmail to an external mailcatcher (SMTP).
Our customers would be able to login the mailcatcher (Mailhog in this case) on a docker server and would be able to fully test all functions of the website, without having to be afraid that some customers might receive e-mails by accident.
The problem with making a solution for Magento that it's not always guaranteed to send mails to the mailcatcher, and is therefore not a solution we would prefer.
A command to change settings to the php.ini or sendmail line (in the php.ini) would solve this problem.
Thanks for the suggestion! We're planning on adding support that allows you to connect this external mailcatcher. We have no concrete plans for this right now, but we will definitely do this in the future!