[DUG] Problems with TIdsmtp

Alister Christie alister at SalesPartner.co.nz
Wed Feb 22 12:26:06 NZDT 2006


Okay, I'm getting close.  xtra's servers will return a response of 550 
to any xtra email address that does not exist.  I've modified some of 
the indy code so that 550 is an acceptable response (no exception thrown).

However xtra's servers do not send the usual return to sender (Que 
Elvis) reply email back - I guess the assumption is that the email 
client has already been informed with the 550 response.  Which means to 
the user that they will think that the email was sent without any 
problems to that address.

Now all I have to do is work out some way of informing the user what 
email addresses got a 550 response without making too much a mess of the 
indy code.  I'm never very comfortable hacking 3rd party code, 
particularly stuff as complex as the indy suite.

By the Way:
550 - The requested command failed because the user's mailbox was 
unavailable (for example because it was not found, or because the 
command was rejected for policy reasons).

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