Newsgroups : Borland : borland.public.delphi.internet.winsock : 2008 Jun : Indy TIdIMAP4 to implement a simple IMAP4 client

www.cryer.info
Managed Newsgroup Archive

Indy TIdIMAP4 to implement a simple IMAP4 client

Subject:Indy TIdIMAP4 to implement a simple IMAP4 client
Posted by:"Benson Wong" (bens..@linktechsystem.com.hk)
Date:Thu, 12 Jun 2008 16:28:49

Some questions on using TIdIMAP4:
1. I get MailBoxList by  IdIMAP41.ListMailBoxes(mMailBoxList). It is fast to
do this.
2. I get the mailbox details by IdIMAP41.SelectMailBox(MailBoxName). Even
using IdIMAP41.RetrieveOnSelect:=rsHeaders, program needs to use 29seconds
to get 39 messages. It is too slow. Any suggestions?
3. Then using IdIMAP41.MailBox.MessageList.messages[i], I can get the
message (date, text, subject, etc.). BUT UID is empty?
4. I want to know more about the usages of RetrieveAllEnvelopes and
UIDRetrieveAllEnvelopes? What are their differences?
5. In my IMAP4 client program, I need to read emails from the email server
each time. Since the process is slow, can I do something to increase its
performance? Can I store the last status or last datetime of my data
retrieve, and read the 'delta' difference?

Thanks in advance.
Benson.
Indy 9.0 for D5.

Replies:

www.cryer.info
Managed Newsgroup Archive