Dummy SMTP Server for testing apps that send email

Posted by Patrick McElhaney on Stack Overflow See other posts from Stack Overflow or by Patrick McElhaney
Published on 2009-06-17T12:21:48Z Indexed on 2010/04/01 10:23 UTC
Read the original article Hit count: 250

Filed under:
|
|
|

I have a lot of apps that send email. Sometimes it's one or two messages at a time. Sometimes it's thousands of messages.

In development, I usually test by substituting my own address for any recipient addresses. I'm sure that's what everybody else does, until they get fed up with it and find a better solution.

I was thinking about creating a dummy SMTP server that just catches the messages and dumps them in a SQLLite database, or an mbox file, or whatever.

But surely such a tool already exists? How do you test sending email?

© Stack Overflow or respective owner

Related posts about testing

Related posts about smtp