Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Oct : Re: IdPop3 raises Max Line Length Exceeded

www.cryer.info
Managed Newsgroup Archive

Re: IdPop3 raises Max Line Length Exceeded

Subject:Re: IdPop3 raises Max Line Length Exceeded
Posted by:"Remy Lebeau (TeamB)" (no.spam@no.spam.com)
Date:Wed, 11 Oct 2006 22:16:52

"Mark" <mark@nospam.it> wrote in message
news:452d63e2@newsgroups.borland.com...

> This someone know about this error?

When downloading the message data, your POP3 server is sending a line of
text that is too long.  Which is hard to do, considering that Indy's default
line length limit is 16,384 characters, and the POP3 protocol does not
support lines nearly that long in the first place.  What is probably
happening is that the message contains a binary attachment that is not
encoded as text (such as using base64) and has no line breaks in it, so it
ends up being read as one very long string that exceeds Indy's maximum.

If that is the case, then you will have to increase the value of the
MaxLineLength property before downloading the message.


Gambit

Replies:

none

In response to:

www.cryer.info
Managed Newsgroup Archive