Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: Indy 10 and Encoding Email Attachments are very slow
| Subject: | Re: Indy 10 and Encoding Email Attachments are very slow |
| Posted by: | "Remy Lebeau (TeamB)" (no.spam@no.spam.com) |
| Date: | Tue, 1 Aug 2006 14:38:07 |
"Darryl Strickland" <dstrickland@carolina.rr.com> wrote in message
news:44cfbaf4$1@newsgroups.borland.com...
> It's the encoding of the email attachments. It slow on my dual xeon
> development pc and on all my clients computers to the point that
> they think the computer is locked up while encoding the attachment.
How big are your attachments to begin with? For that matter, the fact that
you are using a dual-CPU machine means nothing, since Indy does all of its
encoding in the same thread that is sending the message. Is your
application multi-threaded at all? Or are you sending the message in the
context of the main thread? Obviously, if you are having problems with the
UI freezing up during a send, then you should not be sending from the main
thread in the first place.
Gambit
none