//  home   //  advanced search   //  news   //  categories   //  sql build chart   //  downloads   //  statistics
 ASP FAQ 
Home
ASP FAQ Tutorials

   8000XXXX Errors
   Alerts
   ASP.NET 2.0
   Classic ASP 1.0
      COM / ActiveX Components
      Forms
      General Topics
      Date/Time Routines
      Email Scripts & Info
      Files/Directories & FSO
   Databases
   General Concepts
   Search Engine Optimization (SEO)

Contact Us
Site Map

Search

Web
aspfaq.com
tutorials.aspfaq.com
classicasp.aspfaq.com

ASP FAQ Tutorials :: Classic ASP 1.0 :: Email Scripts & Info :: Why do I get 80040108 errors?


Why do I get 80040108 errors?

When using CDO, you might see this error: 
 
error '80040108'
 
 
This can happen if you try to read or write a CDONTS property or a CDO configuration property after the mail has been sent. Allegedly, these parameters are destroyed immediately after the message is sent, so they cannot be accessed afterward - yielding the above error (which maps to CdoE_INVALID_OBJECT). 
 
This can also happen if you do something like this: 
 
<% 
    ' ... 
    objCdo.body = "foo" & _ 
    objCdo.send 
%>
 
If you don't end that string correctly, the CDO object is going to try and append the send method to the body, which of course is going to confuse the heck out of it. :-) So check your code for little items like that... 
 
In addition, if you are using CDONTS.NewMail, consider using CDO.Message instead (see Article #2026).

Related Articles

Can I get CDO messages to return a read receipt?
Can I use a remote SMTP server with CDONTS.NewMail?
How do I alter the priority / importance of an e-mail message?
How do I prevent my links from wrapping in an e-mail?
How do I put carriage returns into an e-mail?
How do I send e-mail from ASP?
How do I send e-mail from SQL Server?
How do I send e-mail in HTML format?
How do I send e-mail with CDO?
How do I validate an e-mail address?
Should I use form action=mailto: to mail the results of a form?
Where can I get more details about configuring / using CDO?
Why can't ASP handle 80,000 e-mails?
Why do CDONTS messages end up in the badmail folder?
Why do I get 8000900F errors?
Why do I get 8004020A errors?
Why do I get 80090020 errors?
Why do I get C00402CE / C00402C7 errors?
Why does CDO.Message give 800C000D errors?
Why does CDO.Message give me 8004020F errors?
Why does CDO.Message give me 80040213 errors?
Why does CDO.Message give me 80040222 errors?
Why does my CDONTS mail hang out in the queue or pickup folders?
Why is e-mail to certain domains being rejected?

 

 


Created: 8/19/2002 | Last Updated: 8/19/2002 | broken links | helpful | not helpful | statistics
© Copyright 2006, UBR, Inc. All Rights Reserved. (347)

 

Copyright 1999-2006, All rights reserved.
Finding content
Finding content.  An error has occured...