BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Indy 10 - Connecting to exchange in a LAN to retrive emails

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock
View previous topic :: View next topic  
Author Message
Lorenzo
Guest





PostPosted: Mon Sep 12, 2005 3:57 pm    Post subject: Indy 10 - Connecting to exchange in a LAN to retrive emails Reply with quote



Hi,
I am using indy 10 components to retrive messages from exchange.
Everything works, but I have 3 problems:

1) I'd like to use the searchkey function, so that I can choose to get
all the emails or just the unread, but "skall" doesn't find anything. Why?

2) I need to get the date, the subject, the sender etc.. and I use the
RetrivePeak function, but it REALLY slow when I have a lot of
messages..is there another (and faster) way to do it?

3) I don't understand why but the property flags (to check if the
message has been read or not) is always empty..

Please could you help me?
Thanks in advance
Back to top
Ciaran Costelloe
Guest





PostPosted: Mon Sep 12, 2005 8:09 pm    Post subject: Re: Indy 10 - Connecting to exchange in a LAN to retrive ema Reply with quote



Lorenzo wrote:

Quote:
Hi,
I am using indy 10 components to retrive messages from exchange.

I assume you are talking about IMAP.

Quote:
Everything works, but I have 3 problems:

1) I'd like to use the searchkey function, so that I can choose to
get all the emails or just the unread, but "skall" doesn't find
anything. Why?

Try no flags.

Quote:
2) I need to get the date, the subject, the sender etc.. and I use
the RetrivePeak function, but it REALLY slow when I have a lot of
messages..is there another (and faster) way to do it?

Use RetrieveHeader.

Quote:
3) I don't understand why but the property flags (to check if the
message has been read or not) is always empty..

RetrievePeek does not mark the message as read (that is the point of
the ...Peek functions). If you use Retrieve, the message should be
marked as read, and you should get a flag.

Quote:
Please could you help me?
Thanks in advance

See http://www.flogas.ie/indy/imap.html

Ciaran

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internet Winsock All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.