hi there,
is there also such a known bug in smtpprot.pas ?
(testing with a gmx account)
my app receives mail through pop3prot.pas then forwards them through
smtpprot.pas.
at first i received the exception "smtp component not connected" in
smtpclientrequestdone, now i built in a check if not connected, now i
receive "smtp component not ready".
procedure TMailer.SmtpClientRequestDone;
function isError : boolean;
begin
result := false;
if (Error > 399) and (Error < 600) then result := true;
if result then if assigned(FOnError) then FOnError(FSmtp.ErrorMessage);
end;
begin
// it is possible that an exception arises here : smtp component not
connected so
with FSmtp do begin
if isError then Rset
else
if not Connected then Connect
else
case RqType of
smtpConnect:
begin
if AuthType = smtpAuthNone then Helo else Ehlo;
end;
....
tia, retnyg
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be