Skip to content

Instantly share code, notes, and snippets.

@Propaganistas
Last active March 23, 2025 02:17
Show Gist options
  • Save Propaganistas/9755257e63301bbd5dd0dacbf4eed5ea to your computer and use it in GitHub Desktop.
Save Propaganistas/9755257e63301bbd5dd0dacbf4eed5ea to your computer and use it in GitHub Desktop.
Laravel MailHog SMTP configuration
# Mailhog
MAIL_MAILER=smtp
MAIL_HOST=0.0.0.0
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
@jehadhupsgrbpu9
Copy link

thanks

@risv1
Copy link

risv1 commented Aug 24, 2024

Thanks

@deepak-fyntune
Copy link

Thanks for this

@bradley-varol
Copy link

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