Closed venky0195 closed 5 years ago
The mailbox doesn't exist. Verify the name by fetching the list of mailboxes with getBoxes()
.
I got INBOX and Gmail as a result for getBoxes(). How do I access mails in sent?
Try: imap.openBox('[Gmail]/Sent Mail')
.
Thank you
Can you please post an example of how to use imap.thread()?
I want to get a conversation in a thread
You'd rather ask on StackOverflow, and get a look a previous asked questions. Or read the doc (See the thread
function).
imap.openBox('INBOX') gives you all the emails in the inbox.
If I use imap.openBox('SENT') or imap.openBox('Sent'), i get the reponse as : { "type": "no", "textCode": "NONEXISTENT", "source": "protocol" }