Developer Email -- An SMTP and webserver for capturing and displaying emails during development
CSS JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
lib/pages
test
.gitignore
README.md
package.json
preview.png

README.md

dmail

Developer Email -- An SMTP and webserver for capturing and displaying emails during development

Inspired by MailCatcher, and fueled by some weekend-warrior-coding.

dmail

Usage

After fetching the git repo, jump in and...

npm install
node ./bin/dmail.js -q5 -s2500 -h2501

That's it. You'll have the daemon up and running in the foreground. You can point your SMTP senders at port 2500 and your browser at 2501 and watch emails as they come in.

On a fresh AWS AMI:

$ yum --enablerepo=epel install nodejs npm
$ npm install dmail -g
$ dmail -q5 -s2500 -h2501

Notes

  • MailCatcher is way more fully featured. You probably want that unless you're interested in this from a learning perspective.
  • Attachments "work" in the sense that they come across the wire into the HTML page, but, uh, they don't render or anything. So there's that.
  • This is WILDLY insecure. XSS from HTML emails galore, no auth around it, etc, etc. It's really, truly only something you'd have on a dev machine. Maybe even that's pushing it ;)