>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!
CDONTS runs on NT or 2000 Server.
Try using a free SMTP email component like ASPEmail:
www.aspemail.com (be sure not to type
www.aspmail.com) :-)