[EMAIL PROTECTED] wrote:
Hi Neven

I've just been down this track and used ICS - Internet Component Suite (Aka
FPIETTE's Components). It's free :-)

Here are some sites:
http://www.overbyte.be
http://www.rtfm.be/fpiette/indexuk.htm
http://users.swing.be/francois.piette/indexuk.htm

The one "gotcha" I found was that the component would regularly report back
an error saying it wasn't ready, e.g. after sending one email and then
wanting to send another. I spent ages trying to find the answer on google
and ended up resorting to the following:

If you can, do it with events. The ICS TSMTPClient component will tell you when the state changes. Of course in some cases this means having a separate window to do things in, but that can be good too... a nice way to provide feedback.


If you need to do it synchronously, I believe there are various methods of the component that don't return until they succeed or fail. I haven't used them though.

--
Corey Murtagh
The Electric Monk
"Quidquid latine dictum sit, altum viditur!"

---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to