• 29th March 2006 -By Vinu Thomas

    Ever been in a situation where you had to test mails from your web application but couldn’t get the mails properly? Here’s something for you :

    Fakemail is a dummy SMTP gateway written in Perl. It’s a tool for testing applications that works by acting as an intercept for outgoing mails.

    Fakemail works by intercepting the mail before it leaves the machine by replacing your mail transfer agent (MTA). It’s a simple script run from the command line and then killed when it’s captured the mails.

    Mails are simply dumped to a directory of your choosing, here the a temporary directory, complete with all of the mail headers. Briefly, the port parameter is the port to listen on initially, the host parameter is not currently checked and the background flag tells fakemail to run as a daemon and to return the process ID of the detached process.

    Link: Fakemail is an SMTP gateway replacement to make mail testing easier

  • Leave a Reply