RubyGems.org

mailtrap

0.1.0

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
Authors

Matt Mower

17,552 total downloads 1,417 for this version
Owners

9d89c1c7a998c1f6f6e3fa9ac1753d29

Gemfile
gem 'mailtrap', '~> 0.1.0'
Versions
  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)