Skip to content

Commit

Permalink
Added mailhog php server
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Mar 12, 2018
1 parent 09c8a47 commit c438963
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions developer/first-steps/php_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,11 @@ PHP extensions and that you have a database server:

> PHP web server was designed to aid application development. It may also be useful for testing purposes or for application demonstrations that are run in controlled environments. It is not intended to be a full-featured web server. It should not be used on a public network.
## Use Mailhog to catch outgoing emails

Contrary to *Vagrant*, using PHP built-in server does not provide any additional tool such as *Mailcatcher* or *Apache Solr*.
You can setup [Mailhog](https://github.com/mailhog/MailHog) to catch outgoing emails in a clean web interface.

On *macOS*, use *HomeBrew*: `brew update && brew install mailhog`, then configure your PHP `sendmail_path` to
use it.

0 comments on commit c438963

Please sign in to comment.