Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

[Proposal] Include MailHog in Homestead #257

Closed
laurencei opened this issue Oct 17, 2016 · 3 comments
Closed

[Proposal] Include MailHog in Homestead #257

laurencei opened this issue Oct 17, 2016 · 3 comments

Comments

@laurencei
Copy link

laurencei commented Oct 17, 2016

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.

@allebb
Copy link

allebb commented Oct 17, 2016

+1 for MailHog instead of MailCatcher!

Sent from my iPhone

On 17 Oct 2016, at 21:31, Laurence Ioannou notifications@github.com wrote:

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.

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.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

@svpernova09
Copy link

@lioannou

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!

@laurencei
Copy link
Author

@svpernova09 - done - thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants