Re: [twsocket] TSmtpCli. Please help..

2006-05-31 Thread Arno Garrels
Tayfun Susamcioglu wrote: > so I want to do same thing with TSmtpCli. > When I send a file with E-Mail, I want to show progress. Because It > take a long time. about 2-3 minutes. How can I do this? In ICS it's not so easy because the mail including attachments is possibly encoded and the encodin

[twsocket] TSmtpCli. Please help..

2006-05-31 Thread Tayfun Susamcioglu
Hello, I wrote a procedure for downloading a file with THttpCli. I can learn it's position on progress. procedure TMainForm.xHttpCliDocData(Sender: TObject; Buffer: Pointer; Len: Integer); var xCount : Integer; begin inherited; xCount := 0; if THttpCli(Sender).ContentRangeBegin <> '' the