Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > ASP CDO
|
ASP CDO As of Oct 5, 2005, this forum is now locked. No posts have been deleted. Please use "Classic ASP Professional" at: http://p2p.wrox.com/forum.asp?FORUM_ID=56 for discussions similar to the old ASP Pro Code Clinic or one of the other many remaining ASP and ASP.NET forums here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP CDO section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 13th, 2003, 01:27 PM
Registered User
 
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default CDONTS error 8009000f Object already exists.

I am having an intermittent problem trying to send email.

here is my basic code
<%
  Dim objNewMail
  Set objNewMail = CreateObject("CDONTS.NewMail")
objNewMail.Send "[email protected]", "[email protected]", "test", "test"
Set objNewMail = Nothing
 %>

I end up with an error that says

error '8009000f'
Object already exists.

This does not happen all of the time.
I have seen others asking this question on the internet but have not seen an answer. Can anyone help?



Changing the permission on the Machinekeys folder did not help.


 
Old October 22nd, 2003, 10:21 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran
Default

<%Set objCDOMail=Server.CreateObject("CDONTS.NewMail")
    objCDOMail.From=stremail
    objCDOMail.To="[email protected]"
    objCDOMail.Subject="Contact Us"
    objCDOMail.Bcc="[email protected];[email protected] m"
    objCDOMail.BodyFormat=0
    objCDOMail.MailFormat=0
    objCDOMail.Body=str
    objCDOMail.Importance=2
    objCDOMail.Send
    Set objCDOMail=Nothing
%>

surendran





Similar Threads
Thread Thread Starter Forum Replies Last Post
Check if Div Layer/Object Exists lian_a Javascript How-To 5 April 23rd, 2008 01:53 AM
check whether COM object exists EddyT C# 0 June 15th, 2007 04:10 AM
Check if Object Exists in the Database Coby Access VBA 2 June 7th, 2007 02:56 PM
Object already exists. (MyCDONTSMail) nironto Classic ASP Professional 1 October 29th, 2005 04:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.