I've been watching this thread with interest as I also use Indy SMTP, generally very successfully. I'd always put the occasional delivery failures down to the fact that emails can go missing anyway.
Have you tried posting to the Indy Forum here: http://forums2.atozed.com/viewforum.php?f=7 It still seems active. I can't see anything on this problem. Or you could even try to track down the original author, Chad Hower, in case he fancies a little technical relief from his family and FBI problems (do a search - he's being given a hard time at present.) Unfortunately Indy development seems pretty much over these days. V10 never saw the light of day as a stable release - see http://www.indyproject.org/Sockets/wizard/DownloadWizard.EN.aspx so I assume you (like me) are using V9. Wishing you success in resolving this one. Brendan Blake. -----Original Message----- From: delphi-boun...@elists.org [mailto:delphi-boun...@elists.org] On Behalf Of Ross Levis Sent: 09 March 2011 09:44 To: 'Moderated List for the Discussion of Delphi Programmingexcluding Database-related topics' Subject: RE: How do I know when Indy's SMTP is done sending? I know that the default Indy10 buffer sizes for TCP Client/Server send/receive are only 32k in size. Seems odd they would use a bigger buffer for SMTP. -----Original Message----- From: delphi-boun...@elists.org [mailto:delphi-boun...@elists.org] On Behalf Of Rainer von Saleski Sent: Wednesday, 9 March 2011 4:33 AM To: Borland's Delphi Discussion List Subject: Re: How do I know when Indy's SMTP is done sending? 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 _______________________________________________ Delphi mailing list Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi _______________________________________________ Delphi mailing list Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi