Re: IdPOP3 and error Max line length exceeded.

Giganews Newsgroups
Subject: Re: IdPOP3 and error Max line length exceeded.
Posted by:  Remy Lebeau (TeamB) (no.spam@no.spam.com)
Date: Mon, 27 Jun 2005

"Mirko Boeer" <newsgrou…@wt-rate.com> wrote in message
news:23045B3E50D0E240newsgrou…@wt-rate.com...

> I use the DevSnapshot and get the error "Max line length exceeded."
> while retrieving the welcome email from a web.de account. The line
> length is greater then the defined IdMaxLineLengthDefault = 16 * 1024,
> this value should be greater e.g. 64K.

Most protocols do not have such long lines.

TIdIOHandler has a MaxLineLength property.  Assign a TIdIOHandlerStack to
the TIdPOP3.IOHandler property before connecting to the server, then you can
change the MaxLineLength to whatever you want.

> Also in IdPOP3.pas is an error, the function RetrieveMsgSize is not
> correct
<snip>
> Correct should be this function

Thanks.

Gambit

Replies

None

In response to

IdPOP3 and error Max line length exceeded. posted by Mirko Boeer on Mon, 27 Jun 2005