Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Jun : Re: idSMTP logon not working
| Subject: | Re: idSMTP logon not working |
| Posted by: | "RGreen" (rgreen@nospam.kemi.umu.se) |
| Date: | Tue, 27 Jun 2006 01:23:32 |
"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message
news:44a0203b$1@newsgroups.borland.com...
>
>
> No. However, atDefault sends the AUTH LOGIN command, but only if the
> server
> supports that kind of authentication to begin with.
The server never changed. The SAME code compiled with D7 that had Indy
9 could login and send without problems. The same code without
modifications fails with auth error.
Client.Host := 'somehost.somehost';
Client.Port := 25;
Client.Username:= 'Someuser';
Client.Password:= 'Some password';
Client.AuthType:= atDefault;
Client.Connect();
Client.Send(Msg); // Msg if TidMessage
The message is send using older versions of indy but fails with the
new one. Oh, well :-)