Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CDONTS error - Obj already exists? 1

Status
Not open for further replies.

Ovatvvon

Programmer
Feb 1, 2001
1,514
US
Hello,
Trying to send mail via exchange server using CDONTS on my ASP page.

When I run the page, here is the error I get:


----------------------------------------
error '8009000f'
Object already exists.

/email/page2.asp, line 21
----------------------------------------

Here is my code:

----------------------------------------
<%@ LANGUAGE=&quot;VBSCRIPT&quot; %>
<%
Option Explicit

Set objMsg = Server.CreateObject(&quot;CDONTS.NewMail&quot;)
objMsg.From = &quot;somebody@someplace.com&quot;
objMsg.To = &quot;myEmail@hotmail.com&quot;
objMsg.Subject = &quot;Test Number 1&quot;
objMsg.Body = &quot;Test Number 1&quot;

objMsg.send 'LINE 21

Set objMsg = Nothing

Response.write(&quot;<BR>Completed.&quot;)

%>
----------------------------------------------

The send command is on line 21...where it says the error is.

Does anyone know what it means by the object already exists? -Ovatvvon :-Q
 

:)
paul

ps. did you catch my .net post? posted up some code and notes and such from the conference last week (I think it was you who asked me to do that way back when). it's in the asp.net forum and I posted a link to that thread in this forum. fyi. ;-)
penny1.gif
penny1.gif
 
Paul, you're a genious! Thanks so much!

I'll go check out the info you posted in the ASP.NET forum. Interested to see what info you've posted. :) Thanks for doing that also! -Ovatvvon :-Q
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top