Connection closed gracefully

Giganews Newsgroups
Subject: Connection closed gracefully
Posted by:  Alan T (alan_NO_SPAM_plt…@yahoo.com.au)
Date: Mon, 14 Dec 2009

D2007
My client got this error:
Connection Closed Gracefully.

These are the code:

try
  StaffIdSMTP.Connect;
  StaffIdSMTP.Send(IdMsgSend);
  Log('Email sent');
finally
  idSMTP.Disconnect;
end;

Since we did not have the log: 'Email sent'.

So we assume it happened here:
StaffIdSMTP.Send

Our client tried 3 times (each time the error came up he needed to close the
application) in our application yesterday and got the same error.

If this happened in StaffIdSMTP.Connect;
we should have socket error, but no socket error.

So the application looked was able to connect but not able to send.

Replies