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 < 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
>> .
>> 
> 
> 
> <span id=m2wTl><p><font face="Arial, Helvetica, sans-serif" size="2"
> style="font-size:13.5px">_______________________________________________________________<BR>Get
> the Free email that has everyone talking at <a
> href=http://www.mail2world.com
> target=new>http://www.mail2world.com</a><br>  <font
> color=#999999>Unlimited 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

Reply via email to