🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #464

Re: TIdLogFile and TIdSMTP

#464
From: Remy Lebeau (TeamB)
Date: Thu, 21 Feb 2008 23:04
20 lines
1669 bytes
"JLoz" <jfsierra@excite.com> wrote in message 
news:47bdf756$1@newsgroups.borland.com...

> I just upgraded to BCB2007 and noticed it is not possible
> to link a TIdSMPT to a TIdLogFile.

Yes, it is.  You have to attach a TIdIOHandlerStack to the TIdSMTP first, 
and then you can attach the TIdLogFile to the TIdIOHandlerStack.

> There used to be an Intercept property that was used to link them.

The Intercept property was a member of TIdTCPConnection in Indy 9.  It was 
moved to the TIdIOHandler class in Indy 10.  A later version of Indy 10 
(later than the version that got included in 2007, or 2006 for that matter) 
reintroduced the Intercept property back into TIdTCPConnection again (it is 
still in TIdIOHandler as well).


Gambit 
Technical Details
Message-ID: <47be034e$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47bdf756$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,357245331de3ee09
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.socket
References: <47bdf756$1@newsgroups.borland.com>
Subject: Re: TIdLogFile and TIdSMTP
Date: Thu, 21 Feb 2008 15:04:10 -0800
Lines: 22
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 207.178.157.90
Message-ID: <47be034e$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1203635022 207.178.157.90 (21 Feb 2008 15:03:42 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail