i understand that, but filling it with the socket error code or with a
"problem connecting to the server" for example, can be helpful and cannot
be considered as fake because this is really the problem


Original Message:
-----------------
From: Lukas Gebauer [EMAIL PROTECTED]
Date: Mon, 10 Nov 2008 09:34:42 +0100
To: synalist-public@lists.sourceforge.net
Subject: Re: [Synalist] invalid server makes no result


> when pop3/imap/smtp fails to connect to the server, instead of getting
> an error string or an error code in the ResultString or
> FullResult.text, these properties are empty. SocketError does contain
> the correct error 10060 or 11001 but usually there is no reason to
> check that. is there a way to add (formally) a fix so when it fails to
> connect, one of the above properties will contain the real error
> instead of an empty string?

Resultstring is result of last smtp/pop3/imap4 protocol command. When 
you cannot to connect server, then you cannot start protocol and you 
cannot have this property filled by any value. It is clear. No reason 
for creating some 'fake' protocol error messages...



-- 
Lukas Gebauer.

E-mail: [EMAIL PROTECTED]
http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

--------------------------------------------------------------------
mail2web.com - Microsoft® Exchange solutions from a leading provider -
http://link.mail2web.com/Business/Exchange



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to