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:

installgem install mailtrap -v 0.1.0

Matt Mower

18,057 total downloads 1,435 for this version


gem 'mailtrap', '~> 0.1.0'
  1. 0.2.1 October 11, 2007 (9.5 KB)
  2. 0.2.0 October 3, 2007 (9.5 KB)
  3. 0.1.0 October 3, 2007 (9 KB)