Sending email asynchonously

Giganews Newsgroups
Subject: Sending email asynchonously
Posted by:  Liron Yahdav (no.spam@no.spam)
Date: Wed, 9 Apr 2008

Hi,

I'm using Delphi 7 with Indy 10.1.5.
I'm writing an email sender and I'd like to have emails sent asynchonously
so that when I call the TIdSMTP.Send method my program doesn't just sit
there frozen until the email is sent. I thought that was maybe the purpose
of the TIdAntiFreeze component, but it doesn't seem to help (I'm guessing
that's only for receiving emails?) So I'm wodering if I'll have to implement
a multithreaded solution or there actually is some built in mechanism to
send emails asynchronously.

Thanks,
Liron

Replies