Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending an html form by email
Message
De
16/05/2001 09:54:15
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Sending an html form by email
Divers
Thread ID:
00507785
Message ID:
00507785
Vues:
33
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform