1. A Ruby SMTP Server For Testing Purposes

    Recently I was working on a feedback mailing form at work, and I was working from outside our office network. When I wanted to test that the mails did in fact get to the mail server, I experienced some problems in getting to our mail server at work and so I thought, that it would be nice to have a simple SMTP server running on localhost, that would receive mails and just echo what it received to STDOUT so that I could rest assured that the mail was sent correctly — and so I wrote a small ruby script that does just that.

    Read more