Recipient address rejected - Script stops
We are using the CDONTS NewMail object to send out a number of emails taken from a recordset.
Somewhere down list (no. 127) the inevitable happens: wrong email address. We get this message:
Recipient address rejected: Domain not found; from=<mail@ourdomain.com> to=<mail@theirdomain.com>
The script stops and we get an internal http 500 server error. According to our log, the system did send out 127 emails before it stopped.
Please tell me what I am doing wrong?