Indy-10 POP

Giganews Newsgroups
Subject: Indy-10 POP
Posted by:  Rhys Sage (abu…@127.0.0.1)
Date: Mon, 7 Jun 2004

I'm getting a problem with Indy - 10 POP login. I downloaded the Indy - 10
all-in-one-easy-install download (download dated 3rd June - indy10.0.18_d7).

When I run the following, instead of getting to the message "Getting
Headers" I get an error window popping up, stating "unrecognised command".
Am I doing something wrong or have I hit on a buggy download?

procedure TForm1.Button1Click(Sender: TObject);
begin
IdPOP31.Host := HostEdit.Text;
IdPOP31.Username := UserEdit.Text;
IdPOP31.Password := PasswordEdit.Text;
ShowMessage('Connecting');
IdPOP31.Connect;
ShowMessage('Logging in');
if IdPOP31.Connected then ShowMessage('Really connected');
IdPOP31.Login;
ShowMessage('Getting Headers');
Label2.Caption := IntToStr(IdPOP31.RetrieveMailBoxSize);
end;

--
Yours

Rhys

Join the anti-spam project:
http://groups.yahoo.com/group/Anti-Spam-Development/
or view my website:
http://www.sageworld.org

"Linux - an operating system that wants to work.
Windows - an operating system that mostly works.
Mac OS - an operating system that really works."

Replies