brew install mailhog


Enable the service via running the command below:

brew services start mailhog# also you can stop it whenever you want using:brew services stop mailhog

This tells Homebrew to setup a background service. Then MailHog is always running on your machine. As long as Homebrew is running, you won’t need to manually start anything, .

Now, you can visit MailHog application under the following in a browser:

For localhost you need to set two variable in Laravel .env file.



Posting about Python and Laravel