Sending emails

Giganews Newsgroups
Subject: Sending emails
Posted by:  Thomas Almqvist (thomas_almqvi…
Date: Thu, 18 Aug 2005


Can anyone tell me how to send emails(with attachments) as fast as possible
using TIdSMTP.
The code I have today works, but in order to prevent that the smtp server
returns an error saying it is busy(too many email too fast), I have a pause
between each email, which makes the sending pretty slow.
Is it the smtp server limitation(I'm using the ISP smtp server) dependent?
As I can understand, the smtp server queus all mails and really send them
when Disconnect is called. Should I send a bunch, say 10-20 at a time, then
Disconnect, pause and then send another 10-20?