Re: [twsocket] SMTP error translation

2009-07-15 Thread Arno Garrels
x x wrote:
 Thank you for the reply.
 
 I get the error SMTP component not ready when I try to use
 WSocketErrorDesc(Error)?

SMTP component not ready is an exception message, it's neither
a winsock nor a SMTP error. 
It happens when you do not use the asynchronous component correctly.
Read this:
http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm
  
--
Arno Garrels


 
 
 -Original Message-
 From: Arno Garrels [arno.garr...@gmx.de]
 Sent: 7/14/2009 1:03:54 AM
 To: twsocket@elists.org
 Subject: Re: [twsocket] SMTP error translation
 
 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  1) 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
 .
 
 
 
 span id=m2wTlpfont face=Arial, Helvetica, sans-serif size=2
 style=font-size:13.5px___BRGet
 the Free email that has everyone talking at a
 href=http://www.mail2world.com
 target=newhttp://www.mail2world.com/abr  font
 color=#99Unlimited Email Storage #150; POP3 #150; Calendar
 #150; SMS #150; Translator #150; Much More!/font/font/span
--
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


Re: [twsocket] SMTP error translation

2009-07-14 Thread Arno Garrels
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  1) 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


Re: [twsocket] SMTP error translation

2009-07-14 Thread x x
Thank you for the reply.

I get the error SMTP component not ready when I try to use
WSocketErrorDesc(Error)?


-Original Message- 
From: Arno Garrels [arno.garr...@gmx.de]
Sent: 7/14/2009 1:03:54 AM
To: twsocket@elists.org
Subject: Re: [twsocket] SMTP error translation

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  1) 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
.
 


span id=m2wTlpfont face=Arial, Helvetica, sans-serif size=2 
style=font-size:13.5px___BRGet
 the Free email that has everyone talking at a href=http://www.mail2world.com 
target=newhttp://www.mail2world.com/abr  font color=#99Unlimited 
Email Storage #150; POP3 #150; Calendar #150; SMS #150; Translator #150; 
Much More!/font/font/span
--
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


[twsocket] SMTP error translation

2009-07-13 Thread x x
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? 


span id=m2wTlpfont face=Arial, Helvetica, sans-serif size=2 
style=font-size:13.5px___BRGet
 the Free email that has everyone talking at a href=http://www.mail2world.com 
target=newhttp://www.mail2world.com/abr  font color=#99Unlimited 
Email Storage #150; POP3 #150; Calendar #150; SMS #150; Translator #150; 
Much More!/font/font/span
--
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