ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
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  
Old May 13th, 2008, 04:45 AM
kazbryan kazbryan is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2008
Posts: 3 kazbryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 8 m 41 sec
Reputation Power: 0
Question Email - 8004020e error

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!

Reply With Quote
  #2  
Old May 13th, 2008, 04:49 AM
micky's Avatar
micky micky is offline
Couch Potato Wizard
Click here for more information. Click here for more information
 
Join Date: Jan 2005
Location: India
Posts: 10,173 micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)micky User rank is General 6th Grade (Above 100000 Reputation Level)  Folding Points: 1480 Folding Title: Novice Folder
Time spent in forums: 3 Months 3 Weeks 1 Day 13 h 33 m 8 sec
Reputation Power: 1413
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.
__________________
Laziness is my religion and Sunday is my God

Get the Mantra!

Reply With Quote
  #3  
Old May 13th, 2008, 05:04 AM
kazbryan kazbryan is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2008
Posts: 3 kazbryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 8 m 41 sec
Reputation Power: 0
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!)

Reply With Quote
  #4  
Old May 13th, 2008, 05:08 AM
sync_or_swim's Avatar
sync_or_swim sync_or_swim is offline
Contributing User
Click here for more information.
 
Join Date: Mar 2006
Location: South Wales
Posts: 1,259 sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 23 h 8 m 7 sec
Reputation Power: 755
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!!

Reply With Quote
  #5  
Old May 13th, 2008, 05:29 AM
kazbryan kazbryan is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2008
Posts: 3 kazbryan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 8 m 41 sec
Reputation Power: 0
Quote:
Originally Posted by sync_or_swim
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!!


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.

Reply With Quote
  #6  
Old May 13th, 2008, 05:50 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
Click here for more information.
 
Join Date: Sep 2004
Location: Israel
Posts: 26,608 Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 6th Grade (Above 100000 Reputation Level)  Folding Points: 325325 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325325 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325325 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325325 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325325 Folding Title: Super Ultimate Folder - Level 1Folding Points: 325325 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 1 Week 4 Days 12 h 53 m 47 sec
Reputation Power: 1400
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.

Reply With Quote
  #7  
Old May 13th, 2008, 05:55 AM
sync_or_swim's Avatar
sync_or_swim sync_or_swim is offline
Contributing User
Click here for more information.
 
Join Date: Mar 2006
Location: South Wales
Posts: 1,259 sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level)sync_or_swim User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 3 Weeks 2 Days 23 h 8 m 7 sec
Reputation Power: 755
Quote:
Originally Posted by kazbryan
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.

No problem, it was just a thought, I'm glad you could eliminate it.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingASP Development > Email - 8004020e error


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway