This looks like the ticket: https://github.com/andris9/smtp-server
On 30 April 2015 at 15:41, Dave Westerman <david.l.wester...@gmail.com> wrote: > In testing a module that sends emails, I was wondering if there was some > way that I could create a dummy SMTP server with Node.js. I would want it > to receive the email requests, and then instead of actually sending emails, > it would just write some info from the emails to a file, which I could then > read to make sure the emails were created correctly. > > Can node.js handle smtp? Or can it only process http traffic? > > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to the Google Groups > "nodejs" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to nodejs+unsubscr...@googlegroups.com. > To post to this group, send email to nodejs@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/32129931-05a5-4ed2-b83a-88e51391dcdc%40googlegroups.com > <https://groups.google.com/d/msgid/nodejs/32129931-05a5-4ed2-b83a-88e51391dcdc%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to nodejs+unsubscr...@googlegroups.com. To post to this group, send email to nodejs@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CAH368STib91Kd1Ev8%3DZEoOat8uTsZRpf5gXdVs2u%3Dqy1QA1qMA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.