Re: IdIMAP41 read e-mail - almost done

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

"Sneek" <roel.slang…> wrote in message

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

> Do I need to include a library???


> 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.




In response to

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