Search

Settings > Server > MailHog

MailHog is an open source (MIT license) email testing tool for developers. It allows you to test the sending of emails using, for example, the PHP mail() function. If you have MailHog enabled, then all emails sent this way will automatically end up in MailHog and you can use the MailHog web interface to check if the email was sent correctly.

MAMP PRO - Settings - Server - MailHog

When MailHog is started, you will see in the upper right corner of the screen which ports are being used for SMTP and the web interface (GUI).

  • Use MailHog server
    Check this box if you want MailHog to start and stop automatically when the Start/Stop button in the toolbar is clicked.

  • Log file:
    The path to your MailHog log file.

    • Choose…
      Here you can choose the directory and the file name. By default, this log file is located at “/Applications/MAMP/logs/mailhog.log”.

Additional Information