Skip to content

Instantly share code, notes, and snippets.

@Propaganistas
Last active March 13, 2024 14:26
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
@heyder777
Copy link

Thanks!

@moghwan
Copy link

moghwan commented Jul 26, 2023

Thanks!

@najathi
Copy link

najathi commented Nov 14, 2023

You're using an invalid value (null) for MAIL_ENCRYPTION.
MAIL_ENCRYPTION=null

Use an empty value instead for MAIL_ENCRYPTION:
MAIL_ENCRYPTION=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment