Admin tools (Mailpit & Adminer)¶
Admin tools are useful in development. They are path-routed under your bench URL.
Enable admin tools:
Disable:
Access:
- Mailpit: http://mybench.localhost/mailpit/
- Adminer: http://mybench.localhost/adminer/
Both are protected with HTTP basic auth. Run fm info mybench to see the credentials.
Set Mailpit as the default mail server for Frappe:
Mailpit SMTP (inside the Docker network): host fm__mybench__mailpit port 1025.
Replace mybench with your bench name (dots become __). For example, bench my.site → host fm__my__site__mailpit.
Note
Mailpit keeps up to 5,000 messages. Older messages are automatically deleted when the limit is reached.
Warning
Admin tools are not enabled by default in production.