Question:
Hi Is there a way to retrieve only the inbox e-mails? I don't want to delete my Sent items but I don't want to process them all every time either as this is mostly an outgoing mailbox that's going to be a lot of e-mails! I'm running the VBscript version. I've tried GetAllHeaders and CopyMail but the results are the same. Thanks
Hi! POP3 doesn't support mailboxes( POP3 and folders )
Use Imap instead. In this case you should select mailbox and then retrieve e-mails from it.
With POP3, your mailbox is only (and can only be) the INBOX. With IMAP, you can select mailboxes.
See this: http://www.cknotes.com/understanding-gmails-behavior/
and this: http://www.cknotes.com/gmail-settings-for-pop3-and-imap-access/