Mailtrap is a mock SMTP server for use in Rails development. Mailtrap waits for a client to connect and talks just enough SMTP for ActionMailer to send its message which Mailtrap will write into a file for you to inspect. Mailtrap makes no attempt to actually deliver anything (hence the name Mail*trap*). You can configure the hostname (default: localhost) and port (default: 1025) for the server and also where the messages get written (default: /tmp). Messages will get written to files named smtp0001.msg, smtp0002.msg, and so on. == FEATURES/PROBLEMS: * Test with ActionMailer's SMTP delivery method * Very, very, dumb ... might not work with an arbitrary Mail client == SYNOPSIS:
Required Ruby Version
> 0.0.0
Authors
Matt Mower
Versions
- 2.11.1 July 02, 2026 (36.5 KB)
- 2.11.0 May 14, 2026 (35.5 KB)
- 2.10.0 March 23, 2026 (31.5 KB)
- 2.9.0 March 13, 2026 (28.5 KB)
- 2.8.0 March 03, 2026 (27.5 KB)
- 0.1.0 October 03, 2007* (9 KB)