Rainer,

When the outgoing buffer is empty.


 
Bjarne
 Coordinate your email-newsletters with NTS eBlast tool suite
 http://www.go2nts.com/eblast



-----Original Message-----
From: Rainer von Saleski <rai...@vonsaleski.com>
To: delphi@elists.org
Sent: Wed, Mar 2, 2011 9:36 am
Subject: Re: How do I know when Indy's SMTP is done sending?


Hi Bjarne, 
 
The code you suggest is precisely what I do. The problem is that the Send 
completes before sending is complete -- it returns once the message has been 
loaded into the outgoing buffer. And the disconnect also completes successfully 
before the outgoing buffer has actually transmitted its contents over the 
internet. 
 
So ... my problem is ... How do I know when the transmission is actually 
complete, and it is safe to end the program? 
 
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

Reply via email to