Jera Design : Developer Tools : fakesmtpd
Ever written an application that has to send mail? Ever try to debug it? Either you stub out the actual mail code, and risk not testing your system end-to-end, or you end up sending lots of email.
I wrote fakesmtpd to provide another alternative. Simply have your application use 'localhost' (127.0.0.1) as its SMTP server, and run fakesmtpd from a command line in another window on your system. When you send a message, fakesmtpd will receive it, just like a real SMTP server, but instead of sending the message, will just echo it to standard out. It also echoes all the steps in the SMTP protocol, so you can use it to debug your mail-sending code.
fakesmtpd is Open Source software. You're free to use, modify and redistribute it under the terms of the Perl Artistic License.
Download fakesmtpd.zip (1 kb)
Feedback, bug reports, and bug fixes are all welcome. Please send them to: email@example.com