In Valid Logic

Endlessly expanding technology

Introducing Papercut!

with 5 comments

I am pleased to introduce a new utility I’ve been playing around with… Papercut.

Papercut is an SMTP tool designed for testing email functionality in a program. Ever want to test the email functionality of a program/site, but don’t want it to send an actual email? Maybe you have a bunch of test data, or it is a snapshot of data from a live site. Papercut is your answer.

Papercut implements an SMTP that is only capable of receiving messages, not sending them. It has no recipient policy or anything, just accepts whatever it gets and writes it out as an EML file. Then on top of the SMTP server, it has a GUI that allows you to view the messages it has received in either raw MIME format, plain text, or as rendered HTML.

screenshot

This is something I run into on an almost daily basis. I might need to check something works, or verify some formatting, and Papercut makes it easy, with no hassle of pointing it to a live SMTP server and verifying my email addresses are correct. To be honest, I was surprised I couldn’t find a program like this already out there. When I came up empty, decided to write one for myself!

It also makes use of WPF, so should have a pretty small memory footprint on newer OSes (found XP/2003 use more memory than Vista/2008), and the SMTP server is asynchronous and uses the managed thread pool, so it doesn’t tie up a lot of resources and should also work well with high message volumes (though the list of messages will get full).

Head on over and get it now!

Written by krobertson

October 29th, 2008 at 5:32 pm

Posted in Software

5 Responses to 'Introducing Papercut!'

Subscribe to comments with RSS or TrackBack to 'Introducing Papercut!'.

  1. Damn, you’re good! This is very cool. Thanks!

    Anonymous

    30 Oct 08 at 8:16pm

  2. Why didn’t anyone think of this before? Super simple and efficient, it’s already making my life easier – great job!

    Anonymous

    7 Nov 08 at 6:43am

  3. I had this idea a few months ago, but my procrastination means you get the glory!

    Anonymous

    7 Nov 08 at 7:57am

  4. Simple, efficient, cool and cute. Congratulations!

    Anonymous

    8 Nov 08 at 2:31am

  5. nDumbster has been around since the .NET 1.1 days:

    ndumbster.sourceforge.net/…/default.html

    It didn’t come with any sort of GUI to view the messages. It doesn’t seem to work with the System.Net.Mail objects.

    I wrote this class against the LumiSoft mail server that mimics much of what nDumbster was doing:

    http://www.lumisoft.ee/…/default.aspx

    Anonymous

    10 Nov 08 at 6:27pm

Leave a Reply