Local SMTP server that can be used for testing and development – won’t actually deliver mail

When I’m developing something that sends email, I sometimes don’t want to actually send any email, but I do want to see what email would be sent using live data. However, there’s not an easy way to do this, as I haven’t found a local SMTP server that will receive my mail and then just hold it for me in a queue so I can view it.

In Windows XP and Vista, I used the locally installed SMTP server and just set it to deliver to a smart host that didn’t exist – the mail just sat in the “inetput/mailroot/queue” folder forever, and I could view it whenever I wanted to. However, in Windows 7, there’s no longer an integrated SMTP server, and though I’ve found a number of SMTP servers that can be installed locally and relay mail for me, I want one that won’t relay mail.

Does anybody have suggestions on how to accomplish this functionality? I’ve considered writing my own, but implementing the whole RFC spec seemed like a big task if there’s something out there. Maybe there’s an open-source project that I could modify just to write the mail to disk instead of delivering it.

Need Smtp Server for Windows that wont deliver email [duplicate]

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 cli

local smtp server to send mail

i need to demo an application on my laptop running windows 7 enterprise. The application is supposed to send mail. How can i setup a local smtp server to send mail from and be able to recieve it in my

SMTP server local send mail php [duplicate]

Possible Duplicate: mail(): SMTP server response: 550 The address is not valid error on hmailserver I would like test my class senderMail.php. For to have, a smtp server, I use hMailServer. I have c

Development SMTP Server

I need a cross platform (at least windows and mac) development utility that runs as an SMTP server that acts as an SMTP server but will redirect all mail to a single address that’s configurable. It wo

What’s a good mail server for development use? [closed]

I’m doing some development which will involve reacting to emails, and I’d like to use a local IMAP mail server for this. I currently use Devnull SMTP server for testing of sending emails, but this jus

Validate smtp server credentials using java without actually sending mail

To verify smtp server credentials shall I use transport.connect()? Session session = Session.getInstance(properties,authenticator); Transport tr=session.getTransport(smtp); tr.connect(); Is it corre

Sending mail with ColdFusion CFMAIL with no local SMTP server

I am using a shared ColdFusion host (Crystaltech) but am using Google domain mail for my email needs. When I use CFMAIL to send mail from this server, I tried using Gmail’s SMTP. It however rewrites a

Local SMTP Server

I used IIS5.1 prior with the Virtual SMTP Server to send some internal mail. However, we’ve been upgraded to IIS7.5 and there is no SMTP Server for some reason Microsoft doesn’t have a fit explanation

Send mail using SMTP server

Hell Guys! I have used SMTP server to send mail as per below public bool SendMail(string mailFrom, string mailTo, string mailCC, string mailBCC, string subject, string body, string attachment, bool

Linux Development SMTP Server

Everyone, I am looking for a good SMTP server for my development machine. I am running Linux mint 10. I need a good SMTP email trap that will listen to the localhost port and intercept all email origi

Answers

Papercut is what you want.

You may want to look at NDdumbster

Awesome, free, cross-platform, and even runs well in a VM environment like Vagrant: http://mailcatcher.me/

Another local test SMTP server application: https://nilhcem.github.io/FakeSMTP/