I am using node.js and nodemailer and I am able to send email to a dedicated gmail account.
However, I want to connect to the gmail account as a client and receive all emails that are sent to that gmail account.
All of the examples here on stack overflow regarding nodemailer are about sending email. I cannot find any thing about receiving email.
How do I do this?
Thanks,
Andres
Create and send an emailSelect Home > New Email. Add recipients, a subject, and a message in the email body. Select Send.
To get Gmail working with nodemailer, most times, all you have to do is configure your google account by allowing access to "less secure apps" from the security. With this enabled, you could use your Google email address and password for nodemailer and start sending emails right away.
The default value is 100 which means that once a connection is used to send 100 messages it is removed from the pool and a new connection is created. Set maxConnections to whatever your system can handle.
well actually nodemailer seems to be a "send e-mails" library only (cf http://www.nodemailer.com/)
you may take a look at http://mailin.io/ (not tested personally ..)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With