chadxz / imap-simple

Wrapper over node-imap, providing a simpler api for common use cases
MIT License
243 stars 80 forks source link

moveMessage showing UID must be an integer. #74

Closed Rajesh-Manikandan closed 3 years ago

Rajesh-Manikandan commented 4 years ago

Find the below error message,

UID/seqno must be an integer, "*", or a range: [object Object]
    at validateUIDList (C:\Users\Rajesh\Documents\MyProjects\RPA-Projects\EmailDispatcher\node_modules\imap\lib\Connection.js:1819:17)
    at Connection._move (C:\Users\Rajesh\Documents\MyProjects\RPA-Projects\EmailDispatcher\node_modules\imap\lib\Connection.js:701:5)
    at Connection.move (C:\Users\Rajesh\Documents\MyProjects\RPA-Projects\EmailDispatcher\node_modules\imap\lib\Connection.js:691:8)
    at C:\Users\Rajesh\Documents\MyProjects\RPA-Projects\EmailDispatcher\node_modules\imap-simple\lib\imapSimple.js:287:19
    at new Promise (<anonymous>)
    at ImapSimple.moveMessage (C:\Users\Rajesh\Documents\MyProjects\RPA-Projects\EmailDispatcher\node_modules\imap-simple\lib\imapSimple.js:286:12)
    at ImapSimple.moveMessage (C:\Users\Rajesh\Documents\MyProjects\RPA-Projects\EmailDispatcher\node_modules\imap-simple\lib\imapSimple.js:283:29)
    at messages.forEach.item (C:\Users\Rajesh\Documents\MyProjects\RPA-Projects\EmailDispatcher\index.js:29:22)
    at Array.forEach (<anonymous>)
    at connection.search.then (C:\Users\Rajesh\Documents\MyProjects\RPA-Projects\EmailDispatcher\index.js:24:18)