Thanks for the commiseration, everyone ... unfortunately, none of it is much help.

Yes, what I need to know is how much data us left in the send buffer. I thought I had tried to say that.

Yes, I have tried the OnStatus and OnWorkEnd events -- they do not take into account the buffer lag. OnWorkEnd fires before OnStatus returns "Disconnected", which happens long before the buffer drains. Did I mention that this is a 7 MB email?

I have tried digging down through the Indy code. The buffer structure (a TMemoryStream) is located in a Private section, and I see no hooks to know how much is in the buffer at any time.

Any other suggestions?

Thanks,
Rainer


_______________________________________________
Delphi mailing list
Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to