ASP emailing problem

P

Paul Hudson

Ive developed a web based system where somebody can add a news record using
ASP and MS Access database connectivity. The new record is inserted into the
database and then a formatted email gets send to a list of about 30 email
addresses using CDONTS.

My emailing ASP script works by looping through a recordset containing the
email addresses, the text gets formatted, and then it sends, then moves onto
the next recipient etc etc ...

I have had reports that on occassion, emails arent being recieved. But the
record has been inserted into the database table.

Is it best to loop through recipients and send individually or is it best
practise to BCC every recipient?

Im just guessing this is the problem as I cant find any errors in the SMTP
log and there is no bad or queued mail etc.

Any help or thoughts would be appreciated.

Thanks.

Paul.
 
W

WIlliam Morris

That some of your recipients aren't getting their emails isn't necessarily
an indication that your script isn't working. If most are receiving fine
and no errors are being generated, then I would look to the email addresses
that are failing and verify whether or not they're correct.
 
J

John Blessing

Paul Hudson said:
Ive developed a web based system where somebody can add a news record using
ASP and MS Access database connectivity. The new record is inserted into the
database and then a formatted email gets send to a list of about 30 email
addresses using CDONTS.

My emailing ASP script works by looping through a recordset containing the
email addresses, the text gets formatted, and then it sends, then moves onto
the next recipient etc etc ...

I have had reports that on occassion, emails arent being recieved. But the
record has been inserted into the database table.

Is it best to loop through recipients and send individually or is it best
practise to BCC every recipient?

Im just guessing this is the problem as I cant find any errors in the SMTP
log and there is no bad or queued mail etc.
IME CDONTS is unreliable. I suggest you use an smtp component e.g aspemail
(www.aspemail.com) instead.


--
John Blessing

http://www.LbeHelpdesk.com - Help Desk software priced to suit all
businesses
http://www.free-helpdesk.com - Completely free help desk software !
http://www.lbetoolbox.com - Remove Duplicates from MS Outlook
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top