Article View: borland.public.cppbuilder.internet.socket
Article #611How to know why TIdPOP3 connection fails
From: Miguel Gimenez
Date: Tue, 04 Dec 2007 22:14
Date: Tue, 04 Dec 2007 22:14
12 lines
1353 bytes
1353 bytes
I'm using TIdPOP3 with Indy 9.0.17 and BCB5. The connection goes fine on my tests, but I expect connection problems when the customers configure the server, user name, etc. I would like to add a diagnostic, like "Unresolvable host", "Server not responding" or "Password invalid", so I read the manual to no avail. I've been reading the source code trying to find if the exception generated by Connect() gives this information, but I got lost. Please, tell me if it's possible to get this information somehow. TIA Miguel Gimenez
Technical Details
Message-ID:
<4755d150@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,717b7a1484eddbc,start X-Google-Attributes: gid11508e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 04 Dec 2007 23:14:41 +0100 From: Miguel Gimenez <me@privacy.net> User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.socket Subject: How to know why TIdPOP3 connection fails Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 88.12.198.244 Message-ID: <4755d150@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1196806480 88.12.198.244 (4 Dec 2007 14:14:40 -0700) Lines: 12 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail