-
-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace mhsendmail with msmtp #103
Labels
Comments
BTW sendmail on Alpine (busybox) can work with SMTP directly (including authentication).
So in PHP the setting would be:
It's also interesting that busybox can be installed on Debian and replace quite a few system utilities:
It's very small in size as well:
So, we might as well just use busybox like Alpine. Update: |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apparently, there is nothing special in mhsendmail in terms of mail routing to MailHog.
mhsendmail
is just a MTA that can bridge the gap between PHP and an SMTP server (as PHP cannot natively talk to a SMTP server on Linux).At the same time,
mhsendmail
has some bugs and has not been maintained in a while. We should replace it with another MTA.On Debian, ssmtp used to be a solution for such cases, but it's not maintained anymore.
The option that is more current and maintained is msmtp. More details here.
The text was updated successfully, but these errors were encountered: