Skip to content

Instantly share code, notes, and snippets.

@devkabir
Forked from reanim8ed/sample.md
Created November 18, 2021 04:26
Show Gist options
  • Select an option

  • Save devkabir/4820657198877e35245053b653ae0187 to your computer and use it in GitHub Desktop.

Select an option

Save devkabir/4820657198877e35245053b653ae0187 to your computer and use it in GitHub Desktop.
[Mailhog in Laragon] #email #laragon #laragon
  1. Download MailHog: https://github.com/mailhog/MailHog/releases/download/v1.0.0/MailHog_windows_amd64.exe
  2. Rename it to MailHog.exe
  3. Move it to `C:\laragon\usr\bin\MailHog.exe
  4. Open Laragon's Procfile (Menu > Laragon > Procfile) and add these lines:
  MailHog: MailHog.exe autorun
  MailHog Admin: http://localhost:8025 autorun
  1. Open F:\laragon\bin\php\php-7.1.14-Win32-VC14-x64\php.ini
  SMTP = localhost
  smtp_port = 1025
  sendmail_path="F:\laragon\usr\bin\MailHog.exe sendmail"
  1. Laragon settings, turn OFF Mail Catcher
  2. Restart Laragon
  3. Run "F:\laragon\usr\bin\MailHog.exe" and keep this open for the emails to be captured.
  4. Launch http://localhost:8025/ which will only work when 8 is running.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment