Board index » delphi » Indy TIdIMAP4 to implement a simple IMAP4 client
Benson Wong
![]() Delphi Developer |
Indy TIdIMAP4 to implement a simple IMAP4 client2008-06-12 04:28:49 PM delphi239 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. |