Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Aug : Re: Application becomes unresponsive when encoding/sending encoding an email.

www.cryer.info
Managed Newsgroup Archive

Re: Application becomes unresponsive when encoding/sending encoding an email.

Subject:Re: Application becomes unresponsive when encoding/sending encoding an email.
Posted by:"Cornie" (cornie..@gmail.com)
Date:Thu, 17 Aug 2006 22:17:43

Thanks for speedy reply.

Please help with the following.

> Either drop a TIdAntiFreeze onto the form (not
> really recommended), or move the TIdSMTP to a worker thread (recommended).

I understand what you mean, but have absolutely no idea how to do it.
Is there some where examples on how to create a worker thread for this case?

>> My onwork event is ignore
>
> I seriously doubt that.
>
Well, my progressbar never gets updated, my log file is not updated,
maybe its not ignored, but it never gets processed.


>> I have put a TIdAntiFreeze on the form, but it did made any differences.
>
> Then you likely did not use it correctly.

I dropped it on the form with the default properties.  What properties
must I change?


Darryl thanks for your reply.

I never had a SSL error, but to be honest I am mostly work with
databases and all this stuff is Greek to me! Once I moved everything to
the background threads, I will let you know.

What confused my the most, is that I had an App that was working 100%.
Then I re-installed Delphi and suddenly I had this problem and my
e-mails where mangled when I received then.  Installing the latest
version of Indy fixed that, but not this issue.

But regardless, thanks to all the developers of Indy.  If it where not
for you, I would have use disks and the postal service to transfer my data!

Regards


Cornie

Replies:

In response to:

www.cryer.info
Managed Newsgroup Archive