Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: problem with tidSMTP after installing latest dev snapshot available (23 Aug)
| Subject: | Re: problem with tidSMTP after installing latest dev snapshot available (23 Aug) |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Thu, 24 Aug 2006 10:02:58 |
), to see which command is actually failing.
> I have tracked to the execution of the Disconnect method,
> concretely in the line
>
> SendCmd('QUIT', 221); //in the DisconnectNotifyPeer method
There is no way any SMTP server is going to send an "unimplemented" error
for the QUIT command. QUIT is a required command in the SMTP protocol.
Email messages cannot be sent to the specified recipients unless the server
supports the QUIT command.
Without seeing your actual code, or the actual SMTP traffic, the only thing
I can think of is that an earlier command was sent to the server without
reading the response, so the error reply remained in the inbound buffers
until another command was sent, which in this case happened to be the QUIT
command.
Gambit