Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Application becomes unresponsive when encoding/sending encoding an email.
| Subject: | Application becomes unresponsive when encoding/sending encoding an email. |
| Posted by: | "Cornie" (cornie..@gmail.com) |
| Date: | Thu, 17 Aug 2006 17:52:35 |
I am sending e-mail using an GMail Account, using TIdSMTP,
TIdSSLIOHandlerSocketOpenSLL and everything works fine, except the
application because completely unresponsive while it is encoding/sending
the attachments (Total size of attachments 2 -200 kb).
I have TIdSMTP.OnStatus event handler that updates a statusbar. Once
the "AStatusText" change to 'Encoding attachments' the application
because unresponsive until the message was sended. My onwork event is
ignore and even a timer that updates a counter every 250ms is never
called during this time. I use BDS 2006 and Indy 10.0.52.
I have put a TIdAntiFreeze on the form, but it did made any differences.
What is job of AntiFreeze?
I believe this issue is related to Darryl issue "Indy 10 and Encoding
Email Attachments are very slow" because no feedback is possible during
the encoding/sending phase.
Any suggestions will be welcome.
Regards
Cornie van Schoor