mscdex / node-imap

An IMAP client module for node.js.
MIT License
2.17k stars 383 forks source link

Getting { Promise { <pending> } } downloading many attachment from a mail server #809

Open melitus opened 4 years ago

melitus commented 4 years ago

Hi, I am encountering hanging with the error below when downloading many attachments from a mail server. Please how can I make the processing of bulk attachment from a mail very fast without hanging? Thanks

{ Promise { <pending> } }
{Promise { <pending> } }
{  Promise { <pending> } }
{  Promise { <pending> } }
{ Promise { <pending> } }
{  Promise { <pending> } }
{ Promise { <pending> } }
{ Promise { <pending> } }
{ Promise { <pending> } }
{  Promise { <pending> } }
{ Promise { <pending> } }
{ Promise { <pending> } }
{Promise { <pending> } }
{ Promise { <pending> } }
{ Promise { <pending> } }
mscdex commented 4 years ago

This library doesn't utilize Promises. It sounds like you might be using another library that uses imap under the hood?

melitus commented 4 years ago

How can I make the processing of many attachments to be very fast?. It actually took a long time before the actually attachment is gotten. Thanks

On Sat, Jun 20, 2020 at 12:12 PM mscdex notifications@github.com wrote:

This library doesn't utilize Promises. It sounds like you might be using another library that uses imap under the hood?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mscdex/node-imap/issues/809#issuecomment-646980459, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGIHQCZX7BLSS4WQFJWUBLRXSKQRANCNFSM4ODKRS5Q .