;;I have created a form using an Hhtm page
mmmmm, you mean html
There are lots of code examples of this on Google. Have you tryed looking? Eg:
What type of server are you using? If you are using wim 2003 CDONTS is no longer supported and does not have the CDONTS.dll
IMO you should asl google 'how to send mail using CDOSYS' the code examples are there, they work and there are many of them.
Wind is your friend