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 encoding is done on the fly. Other mail
components pre-encode the mail data and so are much slower than ICS.
With the standard ICS mail component you don't know the size of
a mail before it was sent completely. However you can try to 
calculate/estimate the grow of the base64 encoding which is
approximately 33%, headers are not encoded. You also could
pre-encode the mail and then send it.

---
Arno Garrels [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to