How to identify Draft from Inbox and Sent mails In ALL MAIl mailbox

Posted by subbi on Stack Overflow See other posts from Stack Overflow or by subbi
Published on 2010-04-20T14:29:18Z Indexed on 2010/04/20 14:33 UTC
Read the original article Hit count: 265

Filed under:
|

Hello,

I am working on a mail client Application for downloading gmail emails, which uses IMAP C-client library.

I want to download emails from "ALLMAIL" mailbox folder. as you know ALLMAIL folder consists of Inbox,Sent Mail and Draft Mails.

Here my requirement is to distinguish Draft from Inbox and Sent mails.

Usually if we download envelop of emails, that should give email's Draft info. But Gmail is failing to set this draft info.

So can you please suggest how to identify draft?

Thanks In advance Subbi

© Stack Overflow or respective owner

Related posts about imap

Related posts about c++