Skip to content

Mail

Mailpit 1.30.3 catches everything your sites send. SMTP on 11025, web UI on 18025.

Terminal window
rex mail # list caught messages
rex mail open # open the web UI
rex mail clear # delete ALL messages

Sites rexenv creates are configured to send through Mailpit. Nothing to install, no SMTP plugin, no credentials.

Point your mailer at:

host 127.0.0.1
port 11025
encryption none
auth none

For Laravel, that is MAIL_HOST and MAIL_PORT in .env with MAIL_MAILER=smtp.

Those are Mailpit’s stock ports, and MailHog’s. Using them would mean rexenv collides with a standalone Mailpit, a MailHog, or Herd Pro’s bundled copy the moment both are running.

The offset is why you can keep whatever you already have. See Ports.

Mailpit’s UI shows the rendered HTML, the plain-text alternative, the raw source with full headers, and attachments. Useful for the two questions local mail debugging is usually about: did it send at all, and does the template survive a real mail client.