ditesh / node-poplib

POP3 client library for Node.js
MIT License
128 stars 44 forks source link

how to retrive mails according to folder #14

Closed ScorpioKing closed 10 years ago

ScorpioKing commented 10 years ago

Hi Sir, How can we retrieve all mails in a perticular mailbox folder like inbox,sent,drafts using node-poplib? What i observe is client.list() gives mails from inbox only if i am not wrong. How can i retrieve mail from sent or drafts folder.??

ditesh commented 10 years ago

You will need to use an IMAP4 client.

The POP3 protocol doesn't support this.