sajad torkamani

Herd Pro provides an SMTP mail server on your local machine that catches all outgoing emails of your application and displays them in an internal email client with additional debugging capabilities.

Laravel Herd email overview

The mail server uses the SMTP protocol to accept mails but instead of sending them to their recipient, it saves them to an internal database.

You can use the settings below and add them to your local .env file to receive mail in the Herd Pro mail UI:

MAIL_MAILER=smtp
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=${APP_NAME}
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"

View incoming emails:

Laravel Herd email overview

Sources & further reading

Tagged: Laravel