Re: IdIMAP41 read e-mail - almost done

Giganews Newsgroups
Subject: Re: IdIMAP41 read e-mail - almost done
Posted by:  Remy Lebeau (Indy Team) (no.spam@no.spam.com)
Date: Wed, 27 Sep 2006

"Sneek" <roel.slang…@rentacar.be> wrote in message
news:CC98F8FF6E09E340roel.slang…@rentacar.be...

For future reference, this discussion belonged in the imap4 newsgroup.

> Do I need to include a library???

No.

> I got this far, but the compiler give an error on:
>
> < TheImap.GetUID(i,TheUID); >
>
> error-message:
> Undeclared Identifier: 'GetUID'

Which version of Indy are you actually using?  GetUID() was added to
TIdIMAP4 in March 2003.  You are probably using an older version.

> TheImap.GetUID(i,TheUID);

Note that GetUID() has a boolean return value.  You should be checking that
GetUID() actually succeeds before then using the UID value.

Gambit

Replies

None

In response to

IdIMAP41 read e-mail - almost done posted by Sneek on Wed, 27 Sep 2006