Receiving email in Node.js

Issue

I see a lot of Node.js modules out there that sends mail through SMTP.

But is there a module to receive mail?

Solution

You are looking for an e-mail client library. Currently, there are 2 options (as mentioned here):

I never used them before, but usage is pretty straight forward (according to the docs). node-imap seems to be the more stable library and it has been tested against gmail. If IMAP is an option in your environment, i’d stick with node-imap.

Answered By – schaermu

Answer Checked By – Timothy Miller (AngularFixing Admin)

Leave a Reply

Your email address will not be published.