Thread View: borland.public.cppbuilder.internet.socket
2 messages
2 total messages
Started by JLoz
Thu, 21 Feb 2008 22:12
TIdLogFile and TIdSMTP
Author: JLoz
Date: Thu, 21 Feb 2008 22:12
Date: Thu, 21 Feb 2008 22:12
9 lines
1176 bytes
1176 bytes
I just upgraded to BCB2007 and noticed it is not possible to link a TIdSMPT to a TIdLogFile. There used to be an Intercept property that was used to link them. How can I log to a file when using TIdSMTP in BCB2007? Thanks, JLoz
Re: TIdLogFile and TIdSMTP
Author: Remy Lebeau (TeamB)
Date: Thu, 21 Feb 2008 23:04
Date: Thu, 21 Feb 2008 23:04
20 lines
1669 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads