Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Windows Server 2008 machine with IIS installed which is hosting a webapp that is sending some notification mails once-in-a-while. What I'd like to do is to monitor the email sent by the application. For this I need a dummy SMTP server which intercepts messages but won't send them further but save them locally on the hard disk.

I've already found some of them like Papercut, SMTP4Dev. The problem with these that I have to be logged on the server all the time which is not suitable because the server has only 2+1 TS connections. I like to run a program like these as a windows service and check the mails when I need them.

share|improve this question

6 Answers 6

We use http://mailtrap.io web service in developement and staging environment. It is platform-independent and doesn't require you to run your own SMTP.

It offers:

  • All emails in one place
  • Shared access for dev team to the inbox
  • Developer tools to analyze emails
  • Flexible configuration
share|improve this answer

Try this one:

http://quintanasoft.com/dumbster/

share|improve this answer

THis one is quite nice, very simple and only a 600k Java file.

http://www.aboutmyip.com/AboutMyXApp/DevNullSmtp.jsp

Should work fine for you!

James

share|improve this answer

You can try hmailserver, it's got extensive logging capabilities, and it will run on the background and save the logs in text files, without actually sending the mails. You can use it on a production system later when your testing is done.

share|improve this answer

I think you can use SC and run them as a service. See also http://serverfault.com/questions/58025/install-service-in-windows-server-2008

share|improve this answer

Disclaimer, I worked on the project

For the benefit of readers of this post at a later date, there is also now Clickity, which does a full SMTP server as a service solution, plus other features on top.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.