J
J
Jessi2020-08-17 23:20:40
JavaScript
Jessi, 2020-08-17 23:20:40

How to fix error when connecting to gmail mail in node js?

Hello, I'm making a program that should connect to gmail mail, and check incoming emails.
To do this, I use the library on node js imap
, but when I connect to the mailbox, an error is generated.

Although everything is ok with the password, and all the necessary items are enabled in the mailbox settings.

5f3ae5bc1ba3b669877141.png

5f3ae5cb753d4520362085.png

I will be glad for any help on how to fix this error, and how to work with this library correctly.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
kocherman, 2020-08-18
@Jessi

Why is imap needed when there is gmail-api?
https://www.npmjs.com/package/gmail tester

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question