It will forward all your mails to a testing SMTP mail catcher (we recommend MailDev).
Use it to test applications that call
sendmail, like PHP
sendmailbin with catchmail (in PHP, add directive:
sendmail_path = /usr/bin/env ./catchmail)
Note that this code is a partial, non-optimized program to ease testing.
It is not fit for production,
use full blown
sendmail or its successors.
Inspired 100% by
catchmail in MailCatcher.
$ npm install -g catchmail$ catchmail
You need to have
node (v 0.12 or later) installed
git clonecd catchmail-nodenpm installgrunt test
Please add tests with any contribution. Thanks and enjoy!