[DUG] Problems with TIdsmtp
Alister Christie
alister at SalesPartner.co.nz
Wed Feb 22 17:11:31 NZDT 2006
Okay, I think I've solved the problem. It is to do with a new
capability of Indy 10 (for smtp) called pipelining [detailed in RFC 2197
if your interested - I've spent too much time today reading smtp RFCs]
which allows a number of commands to be sent without getting an
immediate reply. It can make sending emails (particularly with many
recipients) much faster.
Disabling this property seems to resolve the issue. Having taken the
best part of a day and a half (although I have managed to do other work)
to find that the problem can be solved by changing a property is a bit
disappointing (and embarrassing).
It would be nice to be able to use the pipelining facility as it would
make sending emails much faster. I might try using it for everyone
except xtra.
Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington
Alister Christie wrote:
> I've been having problems with xtras smtp servers. We have an
> application that sends out emails to large numbers of people (up to
> thousands) via BCC. The problem occurs when sending email via xtras
> smtp servers, as they reject any recipient (indy raises an exception)
> that is not a valid xtra customer (NotAValidXtraCustomer at xtra.co.nz for
> instance). This wasn't a problem when using indy 9 as I would just
> remove the person from the BCC list and resend the email - nice and
> transparant to the user. However since upgrading to indy 10, it has
> started sending blank emails to every recipient up to the invalid one.
>
> Has anyone else seen this problem?
>
> I have a number of solutions:
> 1) Go back to indy 9 - I'd rather not do this as I upgraded to indy 10
> to solve a different problem (although this one is much bigger).
> 2) Send a seperate email to each person in the BCC list (this could be
> slow if sending to 500 people - although I already have to break up the
> email anyway as xtra have a limit of 100 recipients and paradise have a
> limit of 50)
>
> Any Ideas or Suggestions?
>
>
More information about the Delphi
mailing list