x x wrote:
> In 'OnRequestDone' for the SMTP Client, I would like to translate the
> meaning of any error, instead of just having the error integer. How
> can 
> this be done?

uses
    (OverbyteIcs)WSocket;

if (Error > 0) and  (Error < 10000) then
    Display(SmtpClient.ErrorMessage)
else
    Display(WSocketErrorDesc(Error));

--
Arno Garrels
--
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

Reply via email to