2

Possible Duplicate:
Dummy SMTP Server for testing apps that send email

My dev machine is Win 7 pro x64.

I would like to install an SMTP server on it that wont deliver email, but will respond to clients as if it did. Any recommendations?

Community
  • 1
  • 1
Ronnie Overby
  • 45,287
  • 73
  • 267
  • 346
  • mailsnag.com does that plus some error simulation for reliability and fault tolerance testing. Highly recommend – Iuri G. Oct 16 '22 at 21:02
  • 1
    I asked this question much earlier in my career. A couple of years ago, I read some smtp related RFC's and wrote an smtp delivery server from scratch that auto creates mailbox folders on disk and stores messages there. Mainly for fun and learning, but I do tend to use this solution when I need it. – Ronnie Overby Oct 24 '22 at 15:00

3 Answers3

7

Papercut will do this: http://invalidlogic.com/papercut/

From the Papercut website:

"Ever need to test emails from an application, but don't necessarily want it sending them out? Don't want to hassle with pointing it to a physical SMTP server? All you want to is verify it can send email, and take a look at the message.

Papercut is your answer. Papercut is a simplified SMTP server designed to only receive messages (not to send them on) with a GUI on top of it allowing you to see the messages it receives. It doesn't enforce any restrictions on addresses, it just takes the message and allows you see it. It is only active while it is running, and if you want it in the background, just minimize it to the system tray. When it receives a new message, a balloon message will show up to let you know."

Community
  • 1
  • 1
Cocowalla
  • 13,822
  • 6
  • 66
  • 112
1

I tried out 3 programs, all of which worked great:

Ronnie Overby
  • 45,287
  • 73
  • 267
  • 346
0

Use any SMTP server (I use hMail) and configure it to forward all mails to an internal account.

Aaron Digulla
  • 321,842
  • 108
  • 597
  • 820