 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Lorenzo Guest
|
Posted: Mon Sep 12, 2005 3:57 pm Post subject: Indy 10 - Connecting to exchange in a LAN to retrive emails |
|
|
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
|
Posted: Mon Sep 12, 2005 8:09 pm Post subject: Re: Indy 10 - Connecting to exchange in a LAN to retrive ema |
|
|
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 |
|
 |
|
|
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
|
|