-
Notifications
You must be signed in to change notification settings - Fork 28
[Proposal] Include MailHog in Homestead #257
Comments
+1 for MailHog instead of MailCatcher! Sent from my iPhone
|
Let's close this and open a new issue with this on the Homestead Repo: (You can disregard the issue template) https://github.com/laravel/homestead/issues/new Straight copy and past of your OP here will be great. Thanks! |
@svpernova09 - done - thanks. |
I've recently switched away from MailCatcher (due to multiple issues with Ruby + Gems) - and found MailHog - https://github.com/mailhog/MailHog
Mailhog is an alternative for Mailcatcher or Mailtrap.io that doesnt require any special dependencies like Ruby, so installation dead simple. Here is a quick article I found on it: http://iankent.uk/2014/04/20/introducing-go-mailhog/
Here is an example of bash installation script that would cover everything needed to include in Homestead: https://gist.github.com/varghesejacob/68caf7aeee53305a1ffa#file-mailhog-bash-script
MailHog includes hooks (like Mailcatcher) to use in PHPUnit Tests so you can 'test' your emails are been sent etc etc: https://gist.github.com/varghesejacob/6113ac971a00611015c5#file-mailhog-test-helper.
And MailHog has a web viewer - so you can "see" your emails (just like Mailtrap.io etc)
Obviously people could install this themselves - but it would seem to be a natural synergy with Homestead - providing everything 'out of the box'. Taylor has previously tweeted that perhaps MailCatcher should be in Homestead by default: https://twitter.com/taylorotwell/status/536923096213516288 - and it was highly "+1" from many replied tweets (including @JeffreyWay) - so this would potentially be a better 'drop in' replacement.
Obviously there is also MailTraip.io - but Mailhog is a local service - so is much faster/reliable etc etc.
The text was updated successfully, but these errors were encountered: