> On Apr 30, 2015, at 10:41 AM, 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?

Absolutely. The registry has several modules for that exactly, plus haraka 
which is a whole SMTP server you can use in production.

Aria

-- 
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/4827364D-9ED5-4F7E-88B0-7E1331403604%40dinhe.net.
For more options, visit https://groups.google.com/d/optout.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to