Last active
March 23, 2025 02:17
-
-
Save Propaganistas/9755257e63301bbd5dd0dacbf4eed5ea to your computer and use it in GitHub Desktop.
Laravel MailHog SMTP configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Mailhog | |
MAIL_MAILER=smtp | |
MAIL_HOST=0.0.0.0 | |
MAIL_PORT=1025 | |
MAIL_USERNAME=null | |
MAIL_PASSWORD=null | |
MAIL_ENCRYPTION=null |
thanks
Thanks
Thanks for this
This works for me with mailhog and sail
MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=tls
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You're using an invalid value (null) for MAIL_ENCRYPTION.
MAIL_ENCRYPTION=null
Use an empty value instead for MAIL_ENCRYPTION:
MAIL_ENCRYPTION=