node-imap icon indicating copy to clipboard operation
node-imap copied to clipboard

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

Open melitus opened this issue 5 years ago • 2 comments

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> } }

melitus avatar Jun 20 '20 10:06 melitus

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

mscdex avatar Jun 20 '20 11:06 mscdex

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 [email protected] 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 .

melitus avatar Jun 20 '20 11:06 melitus