Async Node.js Example to Read Many Imap Accounts in Parallel
This example demonstrates how to use Chilkat to connect to many IMAP accounts in parallel to do something..
This example demonstrates how to use Chilkat to connect to many IMAP accounts in parallel to do something..
You passed the correct login/password to login to imap.gmail.com, but you still get an “Invalid credentials” error. What gives? For example, you called Chilkat’s Imap.Login method, passing the correct login/password, and the imap.LastErrorText contains this: authenticateLogin(110ms): loginImap(110ms): ConnectionType: SSL/TLS ImapCmdSent: aaab LOGIN “you@gmail.com” getCompleteResponse(110ms): ImapCmdResp: aaab NO [AUTHENTICATIONFAILED] Invalid credentials (Failure) –getCompleteResponse –loginImap isOK: serverResponse: aaab NO [AUTHENTICATIONFAILED] Invalid credentials […]
This blog post covers from start to finish the process for getting a desktop application working with GMail using the IMAP protocol with OAuth2 authentication. Start here: https://console.developers.google.com/apis/credentials (1) The first step is to create credentials. Your app is a desktop application. HOWEVER, you will be creating credentials as if your app is a web app. See this YouTube video […]
There is much confusion and worry about Microsoft’s plans to disable standard password authentication for the IMAP, and POP3 protocols. Here is the announcement posted on 20-Sept-2019 on the Office 365 blog: https://developer.microsoft.com/en-us/office/blogs/end-of-support-for-basic-authentication-access-to-exchange-online-apis-for-office-365-customers/ Chilkat already supports OAuth2 for the IMAP, POP3, and SMTP protocols. (Microsoft will continue to support basic auth for SMTP) In all three protocols, an application can […]
Added the IdleStart, IdleDone, and IdleCheck methods to the IMAP API. See the online reference documentation for details.
Fixed Imap.SetFlag so that it returns a failed status if the IMAP server response is something other than “OK”.
Added Imap.SendRawCommandB method. It is the same as SendRawCommand but returns bytes instead of a string. Also fixed Imap.FetchAttachment so that it adheres to the PeekMode property.
If the Imap.AutoDownloadAttachments property is set to false, or if headers-only are downloaded, then emails will be downloaded without attachments. However, attachment information, such as the count, and the size and filename of each attachment is still available. When an email is downloaded from an IMAP server without the attachment data, the attachment information is added as headers to the […]
Chilkat version 9.3.0, being released this week, includes new IMAP functionality to fetch emails without downloading attachments, and then subsequently fetch attachments one at a time separately. There is a new boolean property named “AutoDownloadAttachments”, which has a default value of True (YES). If set to False (NO), then all Fetch* methods will not download attachments. Note: “related” items are […]
Question: When using IMAP and fetching emails by sequence, does looping through the sequence get affected by deleting in mid-sequence or other changes to the mailbox’s content on the server? Answer: The answer is obtained by examining the IMAP specification (RFC 3501). Here’s what it says: 2.3.1.2. Message Sequence Number Message Attribute A relative position from 1 to the number […]