Archived Forum Post

Index of archived forum posts

Question:

Imap status command

Nov 05 '14 at 01:36

Imap protocol has status command to get info about how many messages in inbox, recent count, unseen count... 'STATUS "INBOX" (MESSAGES RECENT UIDNEXT UIDVALIDITY UNSEEN)

How can it be done in chilkat dll ? Using search for that purpose seems less efficient .


Answer

I added a new GetMailboxStatus method. Here's the pre-release download for the Delphi DLL:

http://www.chilkatsoft.com/download/preRelease/chilkat-9.5.0-delphi.zip

Check the online reference documentation for details here:
http://www.chilkatsoft.com/refdoc/dd_CkImapRef.html

(Make sure to refresh the refdoc web page if you don't see the new method.)


Answer

I'll add functionality to make this easier. (Selecting the mailbox (by calling ExamineMailbox or SelectMailbox) will update the NumMessages property.)