Newsgroups : Borland : borland.public.delphi.internet.winsock : 2005 Aug : TIdSMTP/TIdSMTPRelay- monitoring bytes sent and received with intercept (Indy 10

www.cryer.info
Managed Newsgroup Archive

TIdSMTP/TIdSMTPRelay- monitoring bytes sent and received with intercept (Indy 10

Subject:TIdSMTP/TIdSMTPRelay- monitoring bytes sent and received with intercept (Indy 10
Posted by:"Keith Blows" (noo..@nowhere.com)
Date:24 Aug 2005 02:14:47

Support,

Is there an easy way to track the amount of bytes sent received by the
TIdSMTP/TIdSMTPRelay components?

I would think intercepts would be the way to go, but the
IdSMTP.IOHandler (to attach the intercept to) is only created after
calling TIdSMTP.Connect, so I'm not sure when/how to attach a
TIdLogStream to the TIdSMTP component.

I'm creating all the components within a thread and using
TIdThreadSafenteger's to count the bytes. Any suggestions and help
would be greatly appreciated!


Platform:
--------------
  - Indy 10 Snapshot (10 Aug 2005)
  - Delphi 7 Pro


Kind Regards,
Keith

Replies:

www.cryer.info
Managed Newsgroup Archive