|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
Hi all,
I'm a bit stumped with this one. I've been successfully using CDO to send an email newsletter to just over 8000 recipients. Recently the email list was updated and now contains over 15000 email addresses. Yesterday I tried to send an email out to the new list, and after 9631 successfull emails I received an 8004020e error. As none of the code has been altered, and 9631 emails were sent, I know that the server information is correct. I have since tried sending out to the 5500 or so remaining addresses, but the same error keeps occuring - no matter which email address I have first. The email address is correctly formatted, and I can't see any reason for the system to now be refusing to work. It works when sending a single test email using the same settings. Has anyone come across anything like this? Can anyone suggest how I can get the system working for the rest of these emails? Thanks in advance! |
|
#2
|
||||
|
||||
|
hello and welcome to the forum!
may be the server times out as its a long list of emails. Whats the line of error in ur code?? May be you should send mails in bunches and not all mails together. |
|
#3
|
|||
|
|||
|
The line which errors is:
ObjSendMail.Send I tried this morning just sending to me, which worked without any errors. I then tried sending to the shortened list, and the very first address threw up the error. I then tried removing that email address, and the next also failed. I'm using the same server for other CDO email forms and those are still working today. So you can see why I'm stumped on this! (and thanks for the welcome!) |
|
#4
|
||||
|
||||
|
Hi,
This is probably not relevant, but where is the list coming from, and what format is it in? It could be that the addresses have leading/trailing spaces or some other characters which are making them fail. Just a thought!! |
|
#5
|
|||
|
|||
|
Quote:
The list is in an access database. The code goes through each record individually, checking for spaces etc to ensure that the format of the email address is valid. If it isn't the system won't try sending to that address. So unfortunately that's not the answer. Thanks for the thought though. |
|
#6
|
||||
|
||||
|
probably server overload.
build error handling mechanism that will put emails that failed to send aside and try to send later. it's not going to be trivial, but it's possible and pretty simple. |
|
#7
|
||||
|
||||
|
Quote:
No problem, it was just a thought, I'm glad you could eliminate it. |
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > Email - 8004020e error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|