How to use Mailhog (Docker) with Laravel 9
Sam
Posted on November 10, 2022
Get Mailhog going with:
docker run -d -p 1025:1025 -p 8025:8025 mailhog/mailhog
Update your Laravel env file to have:
MAIL_MAILER=smtp
MAIL_HOST=0.0.0.0
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
View your mailbox at http://localhost:8025.
💖 💪 🙅 🚩
Sam
Posted on November 10, 2022
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
webdev Understanding HTTP, Cookies, Email Protocols, and DNS: A Guide to Key Internet Technologies
November 30, 2024
softwareengineering Git Mastery: Essential Questions and Answers for Developers 🚀
November 30, 2024