-
Continued Email Problems
Frank,
I'm finally getting back to this project. The simplest email app doesn't work yet. I have attempted to use code that creates a simple email with the following result:
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Error Type:
Microsoft VBScript runtime (0x800A01AD)
ActiveX component can't create object: 'CDONTS.NewMail'
/relospec/test3.asp, line 7
The code is:
<%
Dim MyBody
Dim MyCDONTSMail
%>
<%
Set MyCDONTSMail = CreateObject("CDONTS.NewMail")
MyCDONTSMail.From= "somebody@nowhere.com"
MyCDONTSMail.To= "jevans@prosws.com"
MyCDONTSMail.Subject="This is a Test"
MyBody = "Thank you for ordering that stuff" & vbCrLf
MyBody = MyBody & "We appretiate your business" & vbCrLf
MyBody = MyBody & "Your stuff will arrive within 7 business days"
MyCDONTSMail.Body= MyBody
MyCDONTSMail.Send
set MyCDONTSMail=nothing
%>
As you can see, line 7 is the reference to CDONTS.NewMail.
I'm using XP Pro for the OS. I am switching to a new server running NT Server in the next few days. Would you expect the new server to have the CDONTS capability I need?
Thanks.
-
Is this supposed to be ASP-db or ASPdb.Net code?
FK
-
-
Hi,
Your CDONTS component isn't installed right. Check the following:
http://support.microsoft.com/default...en-us%3B321807
and
http://support.microsoft.com/default...en-us%3B194801
Also, check the permissions on the folders that are involved. See here:
http://support.microsoft.com/default...;en-us;q197619
Thanks,
John
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|