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.
-
Hi Menno,
MailHog is now available as a part of your Hypernode. All the mail sent by the Hypernode will be caught to make sure there are no problems with Magento. See the changelog on how to start using it. https://support.hypernode.com/changelog/release-6958-mailhog-on-hypernode/
-
Hey Menno,
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!