Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending an html form by email
Message
From
16/05/2001 09:54:15
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Sending an html form by email
Miscellaneous
Thread ID:
00507785
Message ID:
00507785
Views:
32
I'm building a WebSite for the intranet where I work. My web server is Microsoft PWS (win98). I want to make a form that send the data entered to my email adress. I found code like below but this is not working ( Can't create an object 'CDONTS.NewMail').

Here is the code that I use:


Dim objCDO
Set objCDO = CreateObject("CDONTS.NewMail")

Dim txtSubject
txtSubject = "Here is the message"

objCDO.To = "me@mymail.com"
objCDO.From = "you@yourmail.com"

objCDO.Subject = "test"
objCDO.Body = txtSubject
objCDO.Send
So, if you see my problem here, tell It to me!!! Thanks!
Next
Reply
Map
View

Click here to load this message in the networking platform