problem is that before sending AUTH LOGIN to server the EHLO command
is ent. it is the same as HELO but HELO returns only one line message
e.g. "250 Welcome smtpserver" but ehlo adds more lines with server
extension list. that is the problem, because on following MAIL FROM
sent to server some of these lines are returned in buffer before
response on MAIL FROM because they are not fully read in consequent
SocketRead and then result is evaluated as False and message is not sent.
Simply change in TSMTP2000.Connect line "Result := Ehlo;" to
"Result:=Helo;" and everything will go fine.
--- In tmail2000@yahoogroups.com, "tyger1de" <theBear99@...> wrote:
>
> Hi,
>
> had the same problem (puretec, schlund etc switched to a diffrent
> RFC).
>
> Put a "sleep(1000);" between the "smtp2001.connect, .ehlo, .
> AuthLogin and .Login"-Methods and it will work again. If it doesn't,
> increase the milliseconds value.
>
> Chris
>
> --- In tmail2000@yahoogroups.com, "the_josch" <jochen@m...> wrote:
> > Hi!
> >
> > I'm using Mail2000 1.10.3 for my small newsletter software.
> >
> > Since four days I can't send mails using "1und1" with smtp auth.
> Only
> > if I step in the code using the debugger it'll work.
> >
> > If I use other providers instead of "1und1" my program works.
> The "2nd
> > level support" from "1und1" will not or could not help me.
> >
> > Does somebody has an idea?
> >
> > Thanks a lot!
> >
> > Regards!
>