MailHog - CDCgov/prime-simplereport GitHub Wiki
MailHog is an email-testing tool with a fake SMTP server underneath; we can use it to test sending emails locally.
-
Mailhog client runs on docker,
docker compose up -d mailhog
-
or you can use the
db + mailhog up
IntelliJ preset -
Access mailhog inbox on
http://localhost:8025/
You'll need to add the following to your application-local.yaml
spring:
mail:
host: localhost
port: 1025