Using Chilkat IMAP with Yahoo IMAP (imap.mail.yahoo.com)

From Wikipedia: It is possible to get direct IMAP  access without signing up for paid access nor using software like YPOPs! or FreePOPs. Yahoo! operates IMAP and secure IMAP servers (imap.mail.yahoo.com in particular), which are globally accessible. However they require a specific, non-standard IMAP command to be sent before login …

IMAP – Search for Messages by Message-ID or any Email Header Field

Using the Chilkat IMAP API: To download emails having the exact contents of a header field, or all emails where a given header field contains a specified substring, use the Search method like this: (C++) CkMessageSet *mset = imap.Search(“HEADER Message-ID 48208D0C”,true); (C#) Chilkat.MessageSet mset = imap.Search(“HEADER Message-ID 48208D0C”,true); If the …

IMAP: Select Public Folders

Question: How can I access Public Folders in IMAP? This does not work: imap.SelectMailbox(“Public Folders”) Answer: The syntax in Outlook may be different than what is actually used in the underlying IMAP protocol. For example, in Outlook you may see “public folders\all public folders\test”, but you would instead use: imap.SelectMailbox(“public …

Deleting email in GMail

(A tip from a Chilkat customer.) The only way to delete emails on Gmail is in three steps: 1. Copy the email(s) to the folder called [Gmail]/Trash 2. Select all of the emails in [Gmail]/Trash and set the Deleted flag 3. Execute ExpungeAndClose or Expunge command I found that this …