Re: [twsocket] SMTP error translation
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 >> . >> > > > style="font-size:13.5px">___Get > the Free email that has everyone talking at href=http://www.mail2world.com > target=new>http://www.mail2world.com color=#99>Unlimited Email Storage – POP3 – Calendar > – SMS – Translator – Much More! -- 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
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 >. > ___Get the Free email that has everyone talking at http://www.mail2world.com target=new>http://www.mail2world.com Unlimited Email Storage – POP3 – Calendar – SMS – Translator – Much More! -- 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
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