[ANN] Railmail: rails plugin (http://railmail.nullstyle.com)


#1

Hi all,
Just dropping a line here because I have recently release a plugin
that some of you might find interesting or get a little use out of. I
call it Railmail. In a nutshell, it traps any mail sent through
ActionMailer (when the delivery_method is set to :railmail), stores it
in a database, and provides an interface to view those messages.

My initial motivation for the plugin was gmail: While developing
locally on my laptop at work, gmail wouldn’t accept any mail being
sent from my machine. This was very frustrating as it slowed down my
development greatly, since every tweak to a mailer would require me to
upload a version to our server to test the change. With Railmail,
everything is local.

Well, I hope some of you find some for it:
http://railmail.nullstyle.com

-Scott Fleckenstein


#2

This sounds cool, Scott.

Default development environment behavior writes the entire email
to log/development.log

Why wasn’t that enough to develop?


– Tom M.


#3

Mostly because it was annoying. In my specific case, it was one
particular message that was long, multipart, and had links in it that I
needed to have to continue the process at hand. I would always have to
scroll the window up and scan to pull the information needed.

-Scott Fleckenstein


#4

Added to the Rails plugin directory: http://agilewebdevelopment.com/
plugins/rail_mail :slight_smile:


Benjamin C.
http://www.bencurtis.com/
http://www.tesly.com/ – Collaborative test case management
http://www.agilewebdevelopment.com/ – Resources for the Rails community


#5

nullstyle wrote:

Hi all,
Just dropping a line here because I have recently release a plugin
that some of you might find interesting or get a little use out of. I
call it Railmail. In a nutshell, it traps any mail sent through
ActionMailer (when the delivery_method is set to :railmail), stores it
in a database, and provides an interface to view those messages.

My initial motivation for the plugin was gmail: While developing
locally on my laptop at work, gmail wouldn’t accept any mail being
sent from my machine. This was very frustrating as it slowed down my
development greatly, since every tweak to a mailer would require me to
upload a version to our server to test the change. With Railmail,
everything is local.

neat. ive been meaning to write a Mail reader in rails, since muttng
takes 5 minues to load a large maildir even with header caching, and ive
seen horror stories about gnus propensity to go apeshit on resources,
not to mention i couldnt figure out how to configure it and ive been
using emacs for a while…

the part im undecided about is storing mail in the database, or
implement a subset of AR to deal with maildirs instead of database as
the backend…

Well, I hope some of you find some for it:
http://railmail.nullstyle.com

slightly OT, how are you liking Mercurial?

-Scott Fleckenstein

and there sa bug in this forum, if the topic is between 61 and 64
characters, you wont be able to reply to it without shortening it
manually…


#6

slightly OT, how are you liking Mercurial?

I love it. It’s pure joy to use. Fast, simple, easily extendable. It
lacks a few of the annoying aspects of subversion: Easy file ignores
(using regexes or globs) that can apply to the whole repository, and
simplified branching.

Also I’ve hacked together a simple SCM module for capistrano to work
with it.