Re: TIdSMTP Server Indy10

Giganews Newsgroups
Subject: Re: TIdSMTP Server Indy10
Posted by:  Remy Lebeau (TeamB) (
Date: Tue, 4 Apr 2006

"Pedro" <pizquierdo20…> wrote in message

> I have a SMTP server and i can allow messages with very long Lines.
> In the event OnUserLogin I have add this.
>      AContext.Connection.IOHandler.MaxLineAction:=maSplit;
> Is this correct?

All that will do is cause ReadLn() to return partial lines.  That can
potentially break the server.  If you really want to support long lines,
then you should loosen up the restrictions on line lengths by setting the
MaxLineLength property instead, ie:

    AContext.Connection.IOHandler.MaxLineLength := MaxInt;



In response to

TIdSMTP Server Indy10 posted by Pedro on Tue, 4 Apr 2006